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

native scrolling by mouse not possible #90

Open
jwitthaus opened this issue May 27, 2024 · 3 comments
Open

native scrolling by mouse not possible #90

jwitthaus opened this issue May 27, 2024 · 3 comments

Comments

@jwitthaus
Copy link

dragging works perfectly, but I would expect it to work in parallel with native mouse scrolling, but it doesn't.
Is there any chance to get this working?

@Norserium
Copy link
Owner

@jwitthaus, it should work. Could you reproduce your issue?

@jwitthaus
Copy link
Author

please have a look at this simple example. vertical scrolling with mouse wheel works, but dragging doesn't. Horizontal scroll with mouse wheel doesn't work, but dragging works. I want both variants working in both directions

https://codesandbox.io/p/sandbox/github/jwitthaus/animationtest/tree/master/

@Norserium
Copy link
Owner

@jwitthaus, check the size of your container and its styles. In your example you are actually scroll the body of the document.

There is the fixed example.

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

2 participants