github yahoo/react-stickynode v1.1.2
Ignoring scroll events if scrollTop hasn't changed

latest releases: v5.0.2, v5.0.1, v5.0.0...
9 years ago

If a scrollStart event is received but the scrollTop value doesn't seem to have changed from the cached value, skip handling the event and the subsequent scroll event. This fixes an issue seen when the document's scroll position is being restored (eg, during a page navigation event in a single page app) and sticky may incorrectly attempt to reposition itself due to the scroll event.

Don't miss a new react-stickynode release

NewReleases is sending notifications on new releases.