creativetimofficial / ct-argon-dashboard-pro

A beautiful Premium Dashboard for Bootstrap 5.
https://demos.creative-tim.com/argon-dashboard-pro/pages/dashboards/landing
30 stars 13 forks source link

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

Open bukh-sal opened 2 years ago

bukh-sal commented 2 years ago

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 commented 2 years ago

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 commented 1 year ago

I am still experiencing this same issue