@custom-react-hooks/use-lock-body-scroll

中文文档
1.5.1发布于 2024/08/18MITTypeScriptCommonJS零依赖近 30 天下载 1.5万

useLockBodyScroll is a React hook for controlling the scroll behavior of the body element in web applications. It's particularly useful for scenarios like opening modals or overlays where background scroll needs to be disabled.

运行依赖 0

没有声明运行依赖。

Peer 依赖 1

开发依赖 7