A controlled body-scroll lock hook with scrollbar-width compensation and a reentrant lock counter for multiple simultaneous callers.
npx shadcn@latest add @zyeon/use-scroll-lockZyeon UI limits how often it can be asked, and useScrollLock hasn't had its turn. Its source will show here once it has.