Skip to content

[Bug] Dark mode, side nav turns light on resize #57

Open
@bukh-sal

Description

@bukh-sal

Version

2.0.0

Reproduction link

https://demos.creative-tim.com/argon-dashboard-pro/pages/dashboards/crm.html

Operating System

Windows

Device

Desktop

Browser & Version

Edge 96.0.1054.57 & Chrome 95.0.4638.69

Steps to reproduce

  1. Convert to dark mode.
  2. Resize the window.
    (on mobile, it stays light without resizing)

What is expected?

the side-nav stays dark

What is actually happening?

the side-nav turns light


Solution

we can store the theme option in a local variable or a cookie and use the value to instruct the functions on how to behave.
*I thought it best to contact you rather than missing with the code as you're the ones most familiar with it

Additional comments

i have noticed the same issue on soft ui

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