Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: theKashey/react-remove-scroll

Shadow dom support

10 Oct 02:32
@theKashey theKashey

Choose a tag to compare

Bug fixes

Contributors

theKashey and csorfab
Assets 2
Loading

(very) various improvements

03 Jul 08:21
@theKashey theKashey

Choose a tag to compare

  • add special treatment for textareas, fixes #74 (af8fd75)

  • do not prevent uncancelable events, fixes #8 (9d12786)

  • update react-remove-scroll-bar. Fixes #71 (3f51035)

  • add ref to the public interface (db99c0e)

  • correct React 18 integration (af8e23e)

  • correct range input behavior, fixes #64 (0bd6ca8)

  • correct lock behavior for RTL direction (23457a7)

  • Scroll working in RTL (fcae298)

  • Skip shadow root when traversing up the dom tree (eb6a5e7)

  • support CSP (60ce4bf)

Loading

v2.2.0

22 Oct 23:23
@theKashey theKashey

Choose a tag to compare

Features

  • add allowPinchZoom property, fixes #17 (2945796)
Loading

v2.1.0

22 Oct 23:24
@theKashey theKashey

Choose a tag to compare

Features

Loading

80% Bundle Size decrease*

29 Jun 05:35
@theKashey theKashey

Choose a tag to compare

Major version?

React 16.8 is now required, nothing else changed, nothing else added

Features

Yes

  • blocking horizontal scroll
  • parental scroll - inert properly

So why?

👉80% Bundle Size decrease*

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(300b), and Effect part(1.5kb) part, which would be executed only after Lock activation.

The total size of 1.7kb, which is just a bit more that on kb. But UI part is just 300b, and that might have a huge (cumulative) difference.

Loading

AltStyle によって変換されたページ (->オリジナル) /