Releases: garthenweb/react-stickup
Releases · garthenweb/react-stickup
v1.5.1
- [2d5dec5, bd61094] update to latest version of
react-viewport-utils
to fix issues with server side rendering
v1.5.0
- [8ddb249] reduce priority of update when elements are not in the viewport for better performance on low-end devices
- [6e1960e] enable sourcemaps
v1.4.0
- [6904040, 629d591] update documentation for better overview
- [b466e6e] resize
Sticky
and StickyScrollUp
components for update in height #18
- [2904144] add render props for
StickyScrollUp
and add isNearToViewport
for Sticky
#13
v1.3.2
- [597a799] set
will-change
property only if components are within the viewport or near to it so that the browser can relieve resources to concentrate on the important bits #20
v1.3.1
- [086af42] fix gap between
Sticky
and StickyScrollUp
component in situations where the StickyScrollUp
component calculates the last offset before it applies position: fixed
- [4d59423] fix regression for hardware acceleration for
Sticky
component
v1.3.0
- [1b53706] remove unused will change property
- [8261654, 1817c3c] reduce flickering on
Sticky
component when sticky offset changes
v1.2.0
- [d0167f1, 5a4512f, 465fd83, 84df18c, 71991af] serveral performance optimizations
- [68c4481] update
react-viewport-utils
which fixes a bug in internet explorer 11 which let the StickyScrollUp
component flicker while scrolling up
v1.1.0
- [7eb017a] compile dist file with rollup for better compatibility and code splitting
- [286d72e] update
react-viewport-utils
dependency for better performance in idle mode. See react-viewport-utils#v1.0.0 for more information.
- [621cadd] remove dev dependency from
dependencies
.
v1.0.0
Breaking
StickyScrollUpProvider
was renamed to StickyProvider
- All components require the
StickyProvider
as a parent node
Features
- [eaad42d, 04ed146] Reworke the underlying architecture to reduce stress on the main thread and improve performance. Updates to the components (that forces layout) are now only triggered by scroll events. All observer to the bounding client rects are removed.
v0.5.0
StickyScrollUp
: fix issue on retina displays in Edge where the component slowly fades out of the page [a246ed3]
StickyScrollUp
: fix issue where in rare situations the component disappears completely when scrolled fast up and down [75b6f11]
Sticky
: add defaultOffsetTop
property to component to define an offset between the viewports top and the element in sticky mode [31a0ec4]