Releases: orteth01/react-scroll-lock-component
Releases · orteth01/react-scroll-lock-component
React 16 compatibility
Form Bugfix
Official 1.0.0 release
v1.0.0 1.0.0
Touch Support
component now locks touchmove events
new supported prop - "enabled"
@jgrisafe added the enabled
prop to allow a parent component to enable/disable the scroll lock
Ref related fixes
in v0.1.2, the ref for the scrolling element was correctly updated to be a function instead of a string. However, that function was being recreated on every render. v0.1.3 contains a fix that prevents that unnecessary recreation.