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

Prevent click events from scrolling #29

Open
IND-JoshuaBosman opened this issue May 12, 2022 · 0 comments
Open

Prevent click events from scrolling #29

IND-JoshuaBosman opened this issue May 12, 2022 · 0 comments

Comments

@IND-JoshuaBosman
Copy link

Currently anywhere at the very top or bottom of the scrollbars div causes it to scroll - is this expected behaviour?

If it is, would it be possible to add an option to prevent this behaviour? The app I'm working on has a div full of clickable elements and currently clicking on an element positioned at the very top or bottom causes scroll behaviour rather than the element being selected.

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