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

React template css color-scheme in root leads to confusion in safari #239

Open
davemaier opened this issue Nov 11, 2024 · 0 comments
Open

Comments

@davemaier
Copy link

davemaier commented Nov 11, 2024

Hi! I've tried the react template and was a bit confused about the checkboxes at the beginning. When playing around with multiple windows/browsers in safari, I got the feeling that data doesn't get synced properly.

It turned out that data was synced properly but visual presentation of the checkboxes is problematic in safari.

In index.css, the color-scheme attribute is set to light dark for the :root element. The checkbox inherits this. I think if system theme is now set to dark, the checkmark in the checkbox doesn't get displayed anymore as soon as the browser window is not focused. If I set color-scheme to light for the checkbox, everything works properly.

@davemaier davemaier changed the title React template css color-scheme in root leads to confusion in safari React template css color-scheme in root leads to confusion in safari Nov 11, 2024
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