Skip to content

[Bug- 5] Inconsistent Icon Updates During Light/Dark Mode Toggle #49

@sagorahmed

Description

@sagorahmed

Describe the bug
When toggling between light and dark modes, the icon corresponding to the dark mode state does not update in real-time. This inconsistency leads to confusion, as the icon displayed does not match the current mode, increasing the likelihood of mis-clicks.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://explorer.story.foundation'
  2. Locate the dark mode toggle button.
  3. Toggle the button to switch between light and dark modes.
  4. Observe the icon associated with the toggle.

Expected behavior
The icon should dynamically change to reflect the current mode (e.g., a sun for light mode and a moon for dark mode) immediately upon toggling.

Recording Of The Issue

2024-12-25.11-50-18.mp4

Environment:
Browser version: Brave- Version 1.73.101 Chromium: 131.0.6778.139 (Official Build) (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions