Closed acatzk closed 3 years ago
Hey !
I ran into the same issue and fixed it by adding style={{ touchAction: "none" }}
to the ScrollBar
component.
import ScrollBar from "react-perfect-scrollbar";
<ScrollBar style={{ touchAction: "none" }}>
...
</ScrollBar>
Hope it helps !
Hey !
I ran into the same issue and fixed it by adding
style={{ touchAction: "none" }}
to theScrollBar
component.import ScrollBar from "react-perfect-scrollbar"; <ScrollBar style={{ touchAction: "none" }}> ... </ScrollBar>
Hope it helps !
Its also works for me.... thank you bro!
When my application resize into mobile and when i try to scroll it using scrollbar it got me this error [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See
HOW CAN I FIX IT?