-
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
Infinite Scrolling combined with ion-scroll issues #1073
Comments
Good catch - infinite scroll only detects vertical scroll right now; whoops :-) |
Fixed! From the commit message:
|
Fixes #1073 ion-infinite-scroll will now fire a scroll event if the user scrolls past the left boundaries (if they exist) or the top boundaries (if they exists). This means infinite scroll works for vertical, horizontal, or vertical plus horizontal scrolling situations.
@ajoslin , if we have a vertically and horizontally scrollable content, on-infinite runs for both, but if we only want it to run only on vertical scrollin this is a problem. My sugestion is to have two attrs on ion-infinite-scroll like : 'not-on-horizontal' and 'not-on-vertical' And in ionInfiniteScroll directive code: (...) Do you think I should open a pull request? |
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. |
When using an infinite scroll along with a horizontal scroll,
on-infinite
keeps running and loading new data.See codepen here
http://codepen.io/mhartington/pen/Jehlz
From the forum
http://forum.ionicframework.com/t/infinite-scrolling-for-horizontal-scroll/2694/3
The text was updated successfully, but these errors were encountered: