Returns addScrollLock and removeScrollLock functions.
addScrollLock
removeScrollLock
Note: component using this hook must be a descendant of a <ScrollLockManager>.
<ScrollLockManager>
Returns
addScrollLockandremoveScrollLockfunctions.Note: component using this hook must be a descendant of a
<ScrollLockManager>.