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

RangeInput: Mouse wheel event listeners do not prevent window from scrolling #7129

Open
kid-icarus opened this issue Feb 13, 2024 · 0 comments
Labels
bug issue that does not match design or documentation and requires code changes to address

Comments

@kid-icarus
Copy link
Contributor

kid-icarus commented Feb 13, 2024

Expected Behavior

I expect the window not to scroll as I'm changing values for the RangeInput via the scroll wheel.

Actual Behavior

The window scrolls around in addition to the RangeInput wheel values changing.

URL, screen shot, or Codepen exhibiting the issue

https://v2.grommet.io/rangeinput

Screen.Recording.2024-02-12.at.7.39.15.PM.mov

For a more pronounced repro, try Safari on macOS 🙃

Screen.Recording.2024-02-12.at.8.21.05.PM.mov

Steps to Reproduce

  1. Mouse over the RangeInput
  2. Scroll
  3. Notice that the window scrolls as well

Your Environment

  • Grommet version: latest
  • Browser Name and version: Chrome - any
  • Operating System and version (desktop or mobile): Chrome desktop, macOS
@britt6612 britt6612 added the bug issue that does not match design or documentation and requires code changes to address label Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue that does not match design or documentation and requires code changes to address
Projects
None yet
Development

No branches or pull requests

2 participants