-
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
fix(scroll): ignore events during slide-box slide #2814
Conversation
Hi Stephen Works very well. I tested it on a iPhone 5 and a Nexus 7. Would be great to see feature in the next version of ionic. Thanks and happy new year! |
@mhartington said: guess better waiting. |
Any progress on this? |
Hi guys, do you have information if this issue is going to be fixed in release 1.0? I downloaded rc 1 and looks like this issue is still there. Thanks. |
It should be fixed in the nightly builds. Mike Hartington
|
@mhartington I thought is was fixed in the nightly but I was mistaken. Still an issue. In mid slide if you hold your finger on the screen you can still move the slide both x and y. All over the place. When you are scrolling vertically on a slide it locks it from sliding the slidebox horizontally but not vice versa |
Travis http://www.baltdivision.ru/brejk 15.03.2015, 06:42, "Travis Dahl" [email protected]: I thought is was fixed but I was mistaken. Still an issue. In mid slide if you hold your finger on the screen you can still move the slide both x and y. All over the place. When you are scrolling vertically on a slide it locks it from sliding the slidebox but not vice versa —Reply to this email directly or . |
+1 to finish this one. |
Another +1 to finish this |
+1 my app will be in production soon, and this is a very ugly problem. |
I just checked v1 rc2 and this issue still exists there. Could you please update on when it's going to be fixed? Thank you. |
+1 |
Thanks! |
Thanks! Just tested. Looks great! |
What about ionic 3 ? |
Any progress for Ionic 3??? I mean, is working fine in Chrome, etc, but definitely not on iOS. Vertical scroll is still present on iOS while dragging any slide. :( |
Is there no solution for Ionic 3? It feels terrible in iOS. |
I don't expect this PR to be merged. @mhartington mentioned there was a refactoring of the slidebox going on, so this probably isn't aligned with those efforts. Nonetheless, I thought it might be helpful for others affected by the "scroll leak" introduced in beta 14.
The details of the bug can be found in various issues on the forum:
The implementation followed the lead of
ionic.scroll.isScrolling
by introducingionic.slide.isSliding
so that the two may communicate as necessary. isSliding turns on during a slide view'stouchmove
and off intouchend
. When isSliding is true, it interrupts any scroll view scrolling events.Tests didn't break, but I also didn't add any tests (back to not thinking this would be merged). If I was mistaken, or this is terrible for other reasons I cannot see, please let me know!
Thanks, and Happy Holidays ionic team!