Comments (9)
hi @zeeshanjan82 .
please consult the example in the readme - https://github.com/orizens/angular2-infinite-scroll/blob/master/README.md
your code attach an event handler for each "li" element.
from ngx-infinite-scroll.
@zeeshanjan82
have you solved the issue?
if so, please mark it as closed.
Thanks.
from ngx-infinite-scroll.
I'm also experience the same thing. I do not want scroll up to trigger my scrolled down handler.
<div infinite-scroll
[infiniteScrollDistance]="10"
[infiniteScrollThrottle]="500"
(scrolled)="onScrollDown()">
<ul>...</ul>
</div>
from ngx-infinite-scroll.
@peterhoang
notice that the container should have a fixed height as shown in the demo plunkr:
https://plnkr.co/edit/DrEDetYnZkFxR7OWWrxS?p=preview
since height is the page's height, this is why the scrolled trigger is very sensitive and triggered almost immediately.
from ngx-infinite-scroll.
The example also have a strange behaviour. If I go down quickly the scroll event is not fired. But when I go up a little it is called.
Something weird seems to be happening here.
from ngx-infinite-scroll.
hi @Joqus
i noticed that. currently, i don't know why it happens.
perhaps - I should consider checking with a timeout if the handler suppose to trigger a scroll event.
from ngx-infinite-scroll.
Same to me. Have you figured why is this happening?
from ngx-infinite-scroll.
also experiencing simliar issue as joqus and thohoh. would like to find a fix for scrolling down too quickly
from ngx-infinite-scroll.
this seems to occur because of the issue described in #67
from ngx-infinite-scroll.
Related Issues (20)
- Support Angular@15
- Are you still maintaining this library? HOT 2
- Can ngx-infinite-scroll work with mat-select / mat-option HOT 1
- Shipping without @scarf/scarf HOT 1
- Angular v16 support HOT 3
- Facing issue in ngx-infinite-scroll version 16.0.0 HOT 2
- error NG6002: 'InfiniteScrollModule' does not appear to be an NgModule class. HOT 5
- Scroll events not fired when using Chrome devtools device mode
- Adding new standalone APIs HOT 1
- Scroll events not fired with angular 16 HOT 2
- Repeated events onScrollDown HOT 1
- Trigger event of no scrollbar is present HOT 2
- Upgrade to Angular 17 ? HOT 8
- After reloading the data, the scrolling event becomes invalid HOT 1
- List jumping when new items are loaded HOT 1
- Infinite scroll doesnt reset to top on route change
- console warning "violation 'settimeout' handler took n ms" coming multiple times
- Angular 18 support for ngx-infinite-scroll HOT 2
- InfiniteScrollModule is deprecated ? angular 18, ngx-infinite-scroll 18 HOT 1
- Add ability to set at least px to infiniteScrollDistance
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-infinite-scroll.