goldenyz / react-perfect-scrollbar

A react wrapper for perfect-scrollbar
MIT License
482 stars 92 forks source link

With the trackpad scrolling does not stop at the bottom of the scrollable area it continues infinitely. #65

Closed jeffpowrs closed 4 years ago

jeffpowrs commented 5 years ago

I have implemented react-perfect-scrollbar inside of a modal and I am experiencing a bug I have not been able to fix and seems to be a bug with react-perfect-scrollbar.

Expected behavior: When I scroll to the bottom of the content area and all content is in view, the scrolling should stop and I will no longer be able to scroll inside of this area.

Actual behavior: When I scroll to the bottom of the content area and all content is in view, I continue to be able to scroll the content. There seems to be no limit to how far I can scroll it seems to go on infinitely as I watch the content scroll further and further out of view.

If there is anything I can do on my end to resolve this issue please let me know.

goldenyz commented 5 years ago

Could you repro it on codesandbox.io to help me find out what happens?

ASafaeirad commented 5 years ago

Have same issue for horizontal scroll.

ASafaeirad commented 5 years ago

It happen on rtl direction Sandbox

kishan143-jaiswal commented 4 years ago

facing same issue

goldenyz commented 4 years ago

It happen on rtl direction Sandbox

fix by v1.5.4