-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
While swiping to go back, vertical scrolling possible #7120
Comments
Thanks for the reporting this issue, but we are aware of this #7075. |
Ionic 2 rc3 still lets you vertical scroll when swipe back. Ionic1 used to lock vertical scrolling when swiping back (can't remember which version) and that made it feel more native. Looking at ionic apps now I'm able to tell right away if it's native or ionic just by checking if there's a vertical scroll on swipe back. So I think this should be fixed for better ux and for a more native look and feel. |
In the Ionic Conference App (Ionic 2 RC4) in the config.xml if found the solution. I copied the last couple lines. And now it won't vertical scroll when swipe back
|
@MikeMilian that doesn't work for me unfortunately. Which lines did you copy? Also I see that it's using the cordova crosswalk webview plugin which has some downsides. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Short description of the problem:
When I swipe to go back, I can also swipe vertically and either the active or the new page scrolls. This happens only if the content is long enough, so there is something to scroll.
What behavior are you expecting?
While horizontally swiping to go back the vertical touch events should be ignored. At least scrolling should be disabled. This default behavior in iOS. Try this in the settings app on an iPhone.
Steps to reproduce:
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Already discussed in slack channel, for specific case with ion-refresher.
Which Ionic Version? 1.x or 2.x
2.0.0-beta.10
Github Repo that shows an example of your issue
https://github.com/F1ow/ionic-swipe-to-go-back
Run
ionic info
from terminal/cmd prompt: (paste output below)The text was updated successfully, but these errors were encountered: