-
Notifications
You must be signed in to change notification settings - Fork 84
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
Wrong postitioning after orientation change iOS 11 #54
Comments
same in android. |
A dirty fix for the issue. I have done this for my android application. Change the time delay from 550 to 1550 worked for me. File: node_modules\ionic-gallery-modal\index.js
The updated width and height was not available with a delay of 550 millisecond. It taking a bit time to update orientation change device width and height. Increasing the window.setimeout delay fixed. I hope the actual implementation should be a listener that should call "resize" event once there is a change applied in device width and height. |
Anyone found the solution. Facing the same problem on android devices. |
After changing the orientation when the modal is present, the image gots a wrong position.
See this screenshot: @https://imgur.com/a/CmFzB
The text was updated successfully, but these errors were encountered: