Skip to content

xty1992a/scroll-locker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lock scrolling Element when you open a popup

usage

import ScrollLocker from './lib/index.js';

const locker = new ScrollLocker();

// lock scrolling Element
locker.lock();
// release scrolling Element
locker.release();

解决滚动穿透问题

代码来自有赞UI库

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published