Skip to content

Releases: civiccc/react-waypoint

v5.0.3

17 Jan 16:16
Compare
Choose a tag to compare

Clear initial timeout when unmounting component.

v5.0.2

10 Jan 08:43
Compare
Choose a tag to compare

Reverts the previous change to the Typescript definition. See #150 for more context.

v5.0.1

09 Jan 10:42
Compare
Choose a tag to compare

This version updates the Typescript definition to support ES6 imports.

v5.0.0

04 Jan 16:30
Compare
Choose a tag to compare

Breaking changes:

  • The throttleHandler prop has been removed.

Other changes:

  • A typescript definitions file has been added.

v4.1.0

17 Nov 09:21
Compare
Choose a tag to compare

Changes:

  • Waypoints now work for horizontal scrolling as well (thanks to @agilgur5)
  <Waypoint horizontal onEnter={() => /* do your thing! */} />

v4.0.4

10 Nov 16:16
Compare
Choose a tag to compare
  • Delay initial calling of handleScroll when mounting.

v4.0.3

09 Nov 18:14
Compare
Choose a tag to compare
  • Extract event listener code to consolidated-events package.

v4.0.2

20 Oct 16:04
Compare
Choose a tag to compare
  • Prevent event listeners from leaking.

v4.0.1

20 Oct 16:03
Compare
Choose a tag to compare
  • Fix error when a waypoint unmounts another waypoint as part of handling a (scroll/resize) event.

v4.0.0

19 Oct 19:49
Compare
Choose a tag to compare
  • [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.