Skip to content

Releases: theKashey/react-focus-on

v3.0.6

22 Oct 23:27
Compare
Choose a tag to compare

Bug Fixes

  • fixes onClickOutside on iOS devices. fixes #13 (96d0756)

60-90% smaller bundle*

29 Jun 08:11
Compare
Choose a tag to compare

Major version?

React 16.8 is now required, nothing else changed, except scroll lock become a bit smarter

Features

Yes

  • blocking horizontal scroll
  • parental scroll - inert properly

So why?

馃憠60% Bundle Size decrease*, as a minimum, and up to 90% with tree shaking.

if you want

馃帲everything was rewritten in hooks. That simplifies the logic, make code more compact, but now the minimal React version is 16.8+
馃殫a sidecar pattern has been used to split library code into the UI part(2kb), and Effect part(4kb) part, which would be executed only after Lock activation.