xobotyi/react-scrollbars-custom

Browser height calculate bug

Opened this issue · 0 comments

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
Scroll show, then hide, then show, then hide in cycle

Example:
To reproduce bug, change paddingBottom to fit browser height.
https://codesandbox.io/s/rsc-bug-egtos

What is the expected behavior?
Correct calculations

Which versions of react-scrollbars-custom, React, and which browser / OS are affected by this issue? Did this work in previous versions of react-scrollbars-custom?
Latest, Windows, Chrome