tuax/tua-body-scroll-lock

bug: Broken reversed scrollbar on desktop

kyrylo-soulandwolf opened this issue · 2 comments

Version
Version 1.3.0

Describe the bug
After updating to 1.3.0 padding-right on html gets set to 0 on desktop.

Providing a reproduction demo will be better (you can pick a platform below and fork the demo):

Expected behaviour
Padding is to be set on html to reverse the width of the scroll bar.

Hi @kyrylo-soulandwolf how about this one: https://codesandbox.io/s/issue-62-hv7cf4?file=/src/index.js

Hey @BuptStEve
Looks good, this demo seems to fix the issue :)