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

Mobile apps unit screens flash from light to dark background #36222

Open
vunguyen-dmt opened this issue Feb 5, 2025 · 0 comments
Open

Mobile apps unit screens flash from light to dark background #36222

vunguyen-dmt opened this issue Feb 5, 2025 · 0 comments

Comments

@vunguyen-dmt
Copy link

The issue
This makes users feel extremely uncomfortable using dark mode, thus making the dark mode almost unusable.
I opened the issue here rather than in the app repositories because I think the solution is from the backend.

Reproduce
Set your mobile device theme to dark theme, open openedx mobile app, open a course, and go to unit screens (it's easier to see in units containing text components), you will see the screen flash from white to dark theme background.
You can use edx.org apps to test.

Suggestion:
The dark theme background or class should be set on the server side, the theme mode can be extracted from the request cookie or a variable can be used in the same user' preferred language is handled.
The color code for the background can be set through a config variable with a default value.

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

1 participant