-
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
bug: on-scroll-complete not reliably fired #3450
Comments
I'm having trouble reproducing this. Is it possible the scrolling didn't come to a complete stop before you started again? iOS has a very slow scroll decay rate. |
I'll try to record a screencast and find out how to reproduce it more reliable ... |
Here is the screencast directly from iPhone 5: https://www.dropbox.com/s/fyvucv7tg4ki1da/on-scroll-complete.mov?dl=0 |
I've got the same problem. Sometimes (1 in 20 or so) the event is not fired. In ios 8. |
Device: iphone (ios) I am going to add some further information to possibly get us closer to the issue here. I have a bug that I presume relates to this issue (instead of me going ahead and opening another issue) Try this:
If done correctly, you should notice that the on-scroll-complete of the first scroll did not fire at all. I need help with this issue please. Thanks. |
I'd like to add to this issue as I just ran into this on Android as well (and browser). It's unreliable, but I found it quite easy to reproduce. I've made this most simple of codepen: http://codepen.io/bodinaren/pen/ZGoWKE The most reliable way I found to reproduce the bug is by scrolling from and past the content edges (e.g. be on top and keep scrolling up). Preferable you should scroll fast (click/touch, move, release in quick succession). It seems to me to be limited to when there's no "smooth scrolling" effect (keeps scrolling after release). |
I encountered the same bug on iOS 8.4 (iPhone 6 and simulator). The |
I'm facing same issue on android lollipop. Any update on this please? |
I also had issues with on-scroll-complete not being triggered and nailed down the issue to I haven't yet found any unwanted effects caused by this change, but since the doTouchEnd function is very complex I think it would be great if the original author had a look at this solution. Line 2035-2053 of my patched
|
Also, the easiest way to reproduce the issue is to scrub the scrollable content shortly up and down, like you were trying to get rid of a stain on the glass of the phone. It is pretty hard to trigger when using a mouse. |
On Android, the event never fires at all. The onScroll event fires without a problem, but the onScrollComplete event never does fire. |
+1 : it also never fires for me on Android |
I'm just guessing here, but I believe this event will not fire on Android anymore when you're using native scrolling, which is default since version 1.2.0. Does this match your experiences? |
Yes, I'm using native scrolling |
I am able to reliably reproduce this issue when I set Observe how the popup no longer appears when overflow-scroll="true": You can reproduce this issue with the following app: https://github.com/blefebvre/ion-content-scroll-issue/ |
Hello all! Are you all still having this issue with the latest version of ionic? 1.3.0 |
Hello! Since it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if your still having this issue though! |
Well, not working on android Samsung 6s with latest ionic 1.3.0. event is not triggered att all for android native scrolling, have to set jsscroll to true. |
Still doesn't trigger... ionic 1.7.16 |
The issue still exists. And I think @toostn 's comment is convincing. After looking into the source, I'm quite sure that the author just forget to call scroll complete handler when touch ends with a low velocity. |
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. |
Type: bug
Platform: ios 8 browser
I've created a plunker to show the issue: http://plnkr.co/edit/Uplv0wqBStgkQLujjJdN?p=preview
I could reproduce it on iPhone and iPad Safari browser, but on iPhone it was easier. You just have to scroll up and down in different ways. The item text changes for one second when the handler is called. Sometimes the scrollbar does not disappear and the event is not fired.
The text was updated successfully, but these errors were encountered: