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
[REF-1994] rx.theme(appearance='dark') freezes whole app #2650
Comments
If I keep it on 'light', it starts and I also can change to dark on ThemePanel. Only default dark produces this. |
Yes this is a bug, something internally seems to be fighting to change it light mode when Thanks for reporting. |
Experienced the same issue too. Debian 12, Chrome Browser, Python version=3.11.2, Reflex=0.4.0. |
To add another version of the bug when running Reflex 0.4.1: when I set |
This got closed accidentally when a related bug was fixed 😔 |
…e panel The ThemePanel fights with the ThemeProvider when the user color preference key differs from the `appearance` prop specified in the theme. To avoid issues when using the ThemePanel (in development), clear out the user color preference before loading the page and before unloading the page (to ensure it does not freeze on reload). Clearing the user preference isn't ideal production behavior, but typically the ThemePanel is only used during development for trying out different styles, and having it not freeze the app is better dev behavior. Fix #2650
…e panel (#2799) The ThemePanel fights with the ThemeProvider when the user color preference key differs from the `appearance` prop specified in the theme. To avoid issues when using the ThemePanel (in development), clear out the user color preference before loading the page and before unloading the page (to ensure it does not freeze on reload). Clearing the user preference isn't ideal production behavior, but typically the ThemePanel is only used during development for trying out different styles, and having it not freeze the app is better dev behavior. Fix #2650
…e panel (reflex-dev#2799) The ThemePanel fights with the ThemeProvider when the user color preference key differs from the `appearance` prop specified in the theme. To avoid issues when using the ThemePanel (in development), clear out the user color preference before loading the page and before unloading the page (to ensure it does not freeze on reload). Clearing the user preference isn't ideal production behavior, but typically the ThemePanel is only used during development for trying out different styles, and having it not freeze the app is better dev behavior. Fix reflex-dev#2650
#2654
Describe the bug
In case of dark, without any styles, app freezes, automatically opening themepanel is not responding.
To Reproduce
Expected behavior
Screenshots
Specifics (please complete the following information):
Additional context
From SyncLinear.com | REF-1994
The text was updated successfully, but these errors were encountered: