Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!

jmztaylor premium asked 2 years ago


I am using the skin toggler from the docs here

When toggled to dark mode I just set a cookie and when the page is reload trigger the toggle if user set it to dark mode. Now this causes the page to load in the light theme and flash to dark mode. I know why this is happening but is there a suggested better way to do this?


Kamila Pieńkowska staff answered 2 years ago



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.0.1
  • Device: Pc
  • Browser: Chrome
  • OS: w11
  • Provided sample code: No
  • Provided link: Yes
Tags