MCPcopy
hub / github.com/willmcpo/body-scroll-lock / BodyScrollOptions

Interface BodyScrollOptions

src/bodyScrollLock.js:5–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3// https://stackoverflow.com/questions/41594997/ios-10-safari-prevent-scrolling-behind-a-fixed-overlay-and-maintain-scroll-posi
4
5export interface BodyScrollOptions {
6 reserveScrollBarGap?: boolean;
7 allowTouchMove?: (el: any) => boolean;
8}
9
10interface Lock {
11 targetElement: any;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…