-
Notifications
You must be signed in to change notification settings - Fork 117
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
Scrolls backgroud page #99
Comments
Which version are you using ? |
Ionic Info:
global packages:
local packages:
System:
Package: |
hey, any resolution for this? |
I tried to reproduce the issue but couldn't. |
This happens on iOS 11. It doesn't appear to happen on Android.
|
Thanks a lot for the details. |
This might very well be this bug: ionic-team/ionic-framework#6980 User longzheng in that thread has a reasonable workaround. |
I've created a workaround to prevent scrolling and swiping back behind the imageViewer. Opening the image-viewer
The functions to block and reenable navigation
The class in css:
You'll need to set that class to whichever element has overflow: scroll in your app. |
It works just the desired way but only major issue is, when zoomed & scrolled, it also scrolls page which opened it.
I have chat screen where all messages as listed in ion-list/ion-item. One of ion-item could be an image which on clicked, opens the image in your module. But on zoomed & scroll, its scrolls content of chat page in vertical direction in BACKGROUND.
Now, when user closes module, page is already scrolled which gives back impression.
Kindly suggest a way out.
Thanks for the amazing module.
The text was updated successfully, but these errors were encountered: