-
Notifications
You must be signed in to change notification settings - Fork 0
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
微信浏览器中安卓手机采用媒体查询判断横竖屏时有误 #7
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
微信浏览器中安卓手机采用媒体查询判断横竖屏时有误(注:移动端)
在一般浏览器下,表现正常。但在安卓手机实测中,出现了问题。
问题重现:
ios
下表现正常解决方法
javascript
的orientation
和orientationchange
事件判断。orientationchange
事件。orientation
为null||0||180
的时候则为竖屏,为90||-90
时则为竖屏。The text was updated successfully, but these errors were encountered: