Skip to content

Releases: KyleAMathews/react-headroom

v3.2.1

20 Sep 12:54
5cf1093
Compare
Choose a tag to compare
  • fixed peer dependency warnings for react 18 (#207)

v3.2.0

10 Oct 12:47
Compare
Choose a tag to compare
  • add pin property (#205)

v3.1.1

30 Mar 05:41
Compare
Choose a tag to compare
  • fix Safari glitch when scrolling up quickly (#194)

v3.1.0

03 Dec 20:53
Compare
Choose a tag to compare
  • use passive event listeners if browser supports it #186
  • added tag prop which can be used to render different html elements of the wrapper (defaults to "div" ) #191
  • added prettier and re-formatted code #192

v3.0.1

25 Nov 18:50
Compare
Choose a tag to compare
  • Fix issue with errors when parent no longer existed when calling componentWillUnmount #184
  • Fix peer dependency warnings for react^17 #187

Set initial classname to 'react-headroom--unfixed' and call 'unfix' action at props.pinstart

21 May 22:24
Compare
Choose a tag to compare

A new major release to fix #45

The initial class for the header used to be the same as when it was later pinned after scrolling down then up. #65 fixes this so it starts at react-headroom-unfixed and returns to that when at or above pinStart.

React 0.14 compatibility + support custom parents

27 Nov 17:50
Compare
Choose a tag to compare

@cbeckfield added a PR for upgrading this module for React 0.14, thanks!

@borisnadion also added a PR for selecting other elements (other than the window) as the parent for the headroom e.g. an element with overflow.