Releases: civiccc/react-waypoint
Releases · civiccc/react-waypoint
v5.0.3
Clear initial timeout when unmounting component.
v5.0.2
Reverts the previous change to the Typescript definition. See #150 for more context.
v5.0.1
This version updates the Typescript definition to support ES6 imports.
v5.0.0
Breaking changes:
- The
throttleHandler
prop has been removed.
Other changes:
- A typescript definitions file has been added.
v4.1.0
Changes:
- Waypoints now work for horizontal scrolling as well (thanks to @agilgur5)
<Waypoint horizontal onEnter={() => /* do your thing! */} />
v4.0.4
- Delay initial calling of handleScroll when mounting.
v4.0.3
- Extract event listener code to consolidated-events package.
v4.0.2
- Prevent event listeners from leaking.
v4.0.1
- Fix error when a waypoint unmounts another waypoint as part of handling a (scroll/resize) event.
v4.0.0
- [Breaking] Use passive event listeners in browsers that support them. This will break any Waypoint event handler that was calling
event.preventDefault()
.
- Initialize fewer event listeners.