Skip to content

@sv/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.

Terminal window
pnpm add @sv/scroll-lock

Usage

import { ScrollLock } from '@sv/scroll-lock';
const scrollLock = new ScrollLock();
// lock page scrolling
scrollLock.enable();
// unlock page scrolling
scrollLock.disable();

Changelog


1.6.1 (2024-09-04)

Fixes

  • make combobox filterable

1.6.0 (2024-09-03)

Features

  • display selected items in combobox

1.5.0 (2024-08-22)

Features

  • Added more input types and updated Toasts
  • added datepicker example

1.4.0 (2024-07-03)

Features

...


Full changelog