Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dragging scrollbar triggers underlying elements hover effects #268

Closed
Grsmto opened this issue Feb 13, 2019 · 0 comments
Closed

Dragging scrollbar triggers underlying elements hover effects #268

Grsmto opened this issue Feb 13, 2019 · 0 comments

Comments

@Grsmto
Copy link
Owner

Grsmto commented Feb 13, 2019

🐛 Bugs

Current Behavior

If you drag the scrollbar, any underlying components reacting to pointer with get triggered.
SimpleBar intercepts most pointers event but not the hover event.

Expected behavior

Hover effect of underlying component of scrollbar shouldn't trigger.

Suggested solution(s)

We could actually toggle pointer-events css property dynamically on mouseDown/mouseUp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant