Skip to content

Releases: karl-run/react-bottom-scroll-listener

support react 18

02 Aug 08:34
Compare
Choose a tag to compare
v5.1.0

support react 18

refactor

28 Nov 15:18
Compare
Choose a tag to compare
  • Breaking change for hooks: Moved options into a options parameter instead of function arguments

feature

10 Jul 06:26
Compare
Choose a tag to compare
  • Added prop triggerOnNoScroll that will trigger the callback if the page is too short and doesn't have any scroll on mount

fix/chore

10 May 12:18
8cc8dd5
Compare
Choose a tag to compare
  • Reduced bundle size
  • Fixed debouncing, should now behave like a leading debounce by default
  • Added option prop to directly provide debounce options

feature

15 Jun 12:58
Compare
Choose a tag to compare
  • added hook useOnBottomScrollListener

Migrating from 2.x.x to 3.x.x

There are no breaking changes except that the required version of React is now 16.8.0. If you are on an older version of React you can either upgrade React, or stay on version 2.x.x. If you already are on a newer version of React you don't have to do anything, except maybe try out the new hook implementation. :)

bugfix

15 Jun 09:32
Compare
Choose a tag to compare
  • Fix on bottom not triggering when browser was zoomed in when using a specific container as scroll element

bugfix

12 Jun 18:02
Compare
Choose a tag to compare
  • Fix on bottom not triggering when browser was zoomed in

feature

15 Jan 21:11
Compare
Choose a tag to compare
  • Add feature for listening to bottom scroll of specific container

chore

15 Jan 21:06
Compare
Choose a tag to compare
  • Refactor entire library to TypeScript

chore

17 Jan 17:34
Compare
Choose a tag to compare
  • Repackaged module, including umd, cjs and es format.
  • Fixed dependency, reducing module size from 26kb to 5kb (2.1kb gzipped).