You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an app where body height is 100vh and children fill the whole height, in this case "outer" element created by getScrollbarWidth is out of browser view port and it seems Firefox doesn't draw any scrollbars in it so inner and outer widths are the same.
I'm able to fix it by adding position absolute to the outer style: outer.style.position = 'absolute';
Could somebody publish the fix to the npm, please? Or should I make a pull request?
The text was updated successfully, but these errors were encountered:
I have an app where body height is 100vh and children fill the whole height, in this case "outer" element created by getScrollbarWidth is out of browser view port and it seems Firefox doesn't draw any scrollbars in it so inner and outer widths are the same.
I'm able to fix it by adding position absolute to the outer style:
outer.style.position = 'absolute';
Could somebody publish the fix to the npm, please? Or should I make a pull request?
The text was updated successfully, but these errors were encountered: