Skip to content

Releases: orteth01/react-scroll-lock-component

React 16 compatibility

04 Oct 19:39
Compare
Choose a tag to compare

thank you to @neogermi for updating this component to use the prop-types package, which was the only incompatibility with react 16

Form Bugfix

28 Jun 23:19
Compare
Choose a tag to compare

fixed bug #14 with #15

Official 1.0.0 release

31 Mar 23:10
Compare
Choose a tag to compare
v1.0.0

1.0.0

Touch Support

30 Mar 14:38
Compare
Choose a tag to compare

component now locks touchmove events

new supported prop - "enabled"

06 Mar 21:51
Compare
Choose a tag to compare

@jgrisafe added the enabled prop to allow a parent component to enable/disable the scroll lock

Ref related fixes

29 Dec 22:10
Compare
Choose a tag to compare

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.

v0.1.1

18 Apr 03:51
Compare
Choose a tag to compare
  • Fixed error caused by included PropTypes in scroll lock component definition