Releases: garthenweb/react-stickup
Releases · garthenweb/react-stickup
v1.12.0
- [db11d7f, ee0526c] don't call setState on unmounted components #29
- [7210254] update placeholder height and width if inner component changes it size. Hint: This fix requires ResizeObserver to be available. For older browsers like Internet Explorer 11 you would need to install a polyfill by hand. Otherwise, this fix will not have any effect. #28
- [c726928] add official support for node 14
- Updates to dependencies, including an update to react-viewport-utils v1.12.1
v1.11.0
v1.10.0
v1.9.1
v1.9.0
- [a0efa9c] add experimental support for native use of
position: sticky
if applicable. To enable, set theexperimentalNative
flag on aSticky
element. If you see any issues, please create a ticket! Please note that this property might be removed in the future or can change at any point so be careful. - [163f827] update dependencies for some bugfixes.
- [61ffcdb] reduce unneeded checks when rerendering to improve performance.
- [3569f4e] replace shalloweqal dependency for smaller bundle and better performance.
- [d85736b] increase the
will-change
padding to give the browser more time to accelerate upcomming changes. - [285ebb4] fixes a bug when the
Sticky
component is smaller then its container. - [7334859] fixes a bug when the
Sticky
element is inoverflowScroll: flow
mode and scrolled up and down in the beginning of the container.
v1.8.0
- [8247798] expose the
appliedOverflowScroll
value for render props inSticky
. In case the viewport is bigger than the content of the sticky elementoverflowScroll
with a valueflow
will apply the same algorithm as the valueend
. This render property allows adjusting the content based on the chosen algorithm.
v1.7.2
v1.7.1
v1.7.0
- [749d76d] calculate start position by default for
StickyScrollUp
component by default. This deprecatesdefaultOffsetTop
. For migration, just remove it from allStickyScrollUp
components (please not that thedefaultOffsetTop
of theSticky
component is not affected by this changes). - [4de790e] update documentation for better overview
- [20df328] add basic test setup including automatic testing with travis