feat: setOverflowHiddenPc make optional
BekStar7 opened this issue · 2 comments
BekStar7 commented
Is your feature request related to a problem? Please describe.
Some moments, I don't need to use setOverflowHiddenPc
. Because it handles another function sometimes
Describe the solution you'd like
The ability to pass an argument to it as an option, like
lock(el, { reserveScrollBarGap: true })
Describe alternatives you've considered
You can do like a body-lock
Thanks in advance
BuptStEve commented
Examples, please?
BuptStEve commented
We set reserveScrollBarGap true by default, feel free to reopen~