goldenyz / react-perfect-scrollbar

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

body scroll occurs while scrolling react-perfect-scrollbar block (cursor is over react-perfect-scrollbar block) #105

Open justdoitcode345 opened 4 years ago

justdoitcode345 commented 4 years ago

you can see it on demo page

is there any way to fix this behaviour?

https://yadi.sk/i/_5lEor5R8jha4Q 5 mb video of demo page

filipeperdigaosousa commented 4 years ago

Have you tried something like:

<PerfectScrollbar options={ { wheelPropagation: false } }> </PerfectScrollbar>

hazi98 commented 4 years ago

I had a similar issue with a Sidebar, wheelPropagation set to false correctly stops body from moving

auspham commented 3 years ago

This does not work on touch device on chrome for me. Can someone verify?