Open Aakashbansal837 opened 1 year ago
same issue, even in the live demo, have you found a solution?
I feel like it is because the item theme
in localStorage, this bug will happen when the value is system
I tried giving it a initial instead of system
, but not working
It should be done when the page is loaded. This can be achieved by using "useEffect". setTheme to localStorage when loaded using "useEffect" hook.
Steps to reproduce this issue.
System Details System: Macbook Pro M2 OS. Version: Ventura 13.1
See the shared video for more details.
https://user-images.githubusercontent.com/30870405/214991710-901533c8-f3f5-40a9-8720-40e8d5f1969f.mov