You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@minhnhatspk sounds like your containing scroll-area is too close to the bottom of the browser window, so it just automatically fires on any scroll event.
Have you read the FAQ section titled "Why is ngInfiniteScroll triggering my expression on every single scroll event?"
The infiniteScroll directive uses the height of the element that it's attached to in order to determine how close to the bottom of the window it is. In some cases, the browser can report a height of 0, which causes this behavior. Usually, this is due to a container element that only contains floated children. The simplest way to fix this problem is to add a "spacer" element to the bottom of the container (something like <div style='clear: both;'></div>); see this StackOverflow question and its associated answers for more details.
help me please !
The text was updated successfully, but these errors were encountered: