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

useIdle: State stays idle when horizontally scrolling #7574

Open
1 of 2 tasks
kevduc opened this issue Mar 11, 2025 · 0 comments
Open
1 of 2 tasks

useIdle: State stays idle when horizontally scrolling #7574

kevduc opened this issue Mar 11, 2025 · 0 comments

Comments

@kevduc
Copy link

kevduc commented Mar 11, 2025

Dependencies check up

  • I have verified that I use latest version of all @mantine/* packages

What version of @mantine/* packages do you have in package.json?

7.17.1

What package has an issue?

@mantine/hooks

What framework do you use?

Next.js

In which browsers you can reproduce the issue?

Firefox

Describe the bug

When using the useIdle example on mantine.dev, once the state is idle, if I horizontally scroll (I'm using the track pad on my mac), the state doesn't change to "not idle". It looks like it's using the defaults so it includes the scroll events, and I'd expect that horizontal scroll to be detected.

My user agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0

Screen.Recording.2025-03-11.at.22.51.22.mov

If possible, include a link to a codesandbox with a minimal reproduction

https://mantine.dev/

Possible fix

No response

Self-service

  • I would be willing to implement a fix for this issue
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