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

samsung native browser performs abnormally the when set dark theme #111

Open
Nicolaschinc opened this issue Apr 28, 2022 · 1 comment
Open

Comments

@Nicolaschinc
Copy link

1、Android phone set dark theme and open the samsung brower browse websitee(such as apple.com)
2、the browser under the dark theme wil break the page styles even thought the website don't set relative Apptheme config
3、try to get info from browser support by javascript script api. When I code window.matchMedia('(prefers-color-scheme: light)').matches (at that moment the phone is in dark theme, but it return true). It looks like probably wrong

I guess the browser get wrong on App theme config. Whether the Phone theme is, it must return light type.

It cause the unsuitable experience。

android system version: 11
samsung browser version: 16.2.6.6.

@Doc999tor
Copy link

As version 20.06.5 the issue does still exist

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

2 participants