@atrium-ui/scroll-lock
A small library for consitent scroll-locking across browsers.
Used in a-blur.
Installation
Make sure your project is set up with access to the registry as described in Setup.
pnpm add @atrium-ui/scroll-lock
npm i @atrium-ui/scroll-lock
bun add @atrium-ui/scroll-lock
Usage
import { ScrollLock } from '@atrium-ui/scroll-lock';
const scrollLock = new ScrollLock();
// lock page scrollingscrollLock.enable();// unlock page scrollingscrollLock.disable();
Changelog
1.7.3 (2024-11-14)
Fixes
- Make accordion content inert if closed
1.7.2 (2024-10-15)
Fixes
- search input slots not working
1.7.1 (2024-10-15)
Fixes
- peers are not copied
1.7.0 (2024-10-15)
Features
- update components package
...
Full changelog