-
Notifications
You must be signed in to change notification settings - Fork 41
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
Warning is shown when keyboard is shown #1
Comments
Ah, good point. I'm just checking to see if the window width (or maybe the document width?) is bigger than the height, which is pretty hacky and behaves incorrectly in this case. I wonder if there is a more robust manner of figuring out orientation now that devices have matured a bit. Thanks for reporting this. It might take me a few weeks before I'll have time to address this though, so if you are interested in putting together a fix I'd be thrilled to accept a PR. |
Fixed that issue and its working perfect for me i have created a new variable
and modified checkOrientationChange(); `
` |
or quite simple approach is to modify isPortrait()
|
Would you mind posting a full version of your script? I'm not getting your changes to work. |
Could you fork this repo and create a pull request @mkarya001? That way I can merge in your fixes so that everyone will get the updates going forward. Thanks for your help! |
@arscan sure |
When the keyboard is shown a warning that the site is in Landscape is wrongly shown.
The text was updated successfully, but these errors were encountered: