Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bukh-sal opened this issue Jan 20, 2022 · 2 comments
Open

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

bukh-sal opened this issue Jan 20, 2022 · 2 comments

Comments

@bukh-sal
Copy link

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

@rarestoma
Copy link
Contributor

Hi @bukh-sal,

Thank you for working with our products and sorry for our late response.

I just added this issue to be fixed in our next update.

Thank you,
Rares

@dmjon
Copy link

dmjon commented Mar 22, 2023

I am still experiencing this same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants