Skip to content

Releases: yahoo/react-stickynode

Initialization of globals during componentDidMount()

15 Jul 23:11
Compare
Choose a tag to compare

Global variables related to the client are now initialized during componentDidMount() instead of during module execution.

Adding z-index support

17 Jun 19:43
Compare
Choose a tag to compare

Adding ability to change z-index of the sticky node via the innerZ prop (thanks @samlecuyer!)

Ignoring scroll events if scrollTop hasn't changed

02 Jun 16:40
Compare
Choose a tag to compare

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.

Recalculating stickyBottom when in release mode

31 May 18:43
Compare
Choose a tag to compare

Fixes an issue where in release mode, calculations were being performed with a potentially outdated value for this.stickyBottom.

Add shouldFreeze prop

31 May 18:45
Compare
Choose a tag to compare

Adds support for shouldFreeze prop, a function which allows an implementor to temporarily disable a sticky node through custom logic.

Explicitly add displayName for better debugging

04 May 18:34
Compare
Choose a tag to compare

#36 - Explicitly add displayName for better debugging, thanks @itssumitrai !

Allow passing new props to updateInitialDimension

02 May 03:58
Compare
Choose a tag to compare

#34 - Allow passing new props to updateInitialDimension, thanks @codeheroics !

Change function to es6 syntax

02 May 03:58
Compare
Choose a tag to compare

#33 - Change function to es6 syntax

Toggling sticky behavior

20 Apr 17:29
Compare
Choose a tag to compare

#31 - Toggling sticky behavior, thanks @egadstar !

fix Sticky not being fixed when calling window.scrollTo()

20 Apr 01:49
Compare
Choose a tag to compare

#32 - fixed Sticky not being fixed when calling window.scrollTo()