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

[Bug]: When scrolling while the focus is on Number input, value changes and page scrolls #11947

Closed
2 tasks done
Natuu opened this issue Aug 12, 2022 · 2 comments
Closed
2 tasks done

Comments

@Natuu
Copy link

Natuu commented Aug 12, 2022

Package

@carbon/react

Browser

Chrome, Safari, Firefox, Edge

Package version

10.57.2 (and v11 too as it's still same behavior in doc)

React version

17.0.2

Description

When scrolling while the focus is on Number input, value changes and page scrolls.
You can see this in the docs too (https://carbondesignsystem.com/components/number-input/usage/).

It seems logic that the value changes for accessibility reasons or design reasons. However, the page should not scroll at the same time as it harder to see that the value changes. When using a mouse pad, user can even miss that the input has focus, and change the value without knowing.

Reproduction/example

https://carbondesignsystem.com/components/number-input/usage/

Steps to reproduce

  • Click on the input
  • Scroll down / up

Code of Conduct

@tay1orjones
Copy link
Member

Duplicate of #11982

@tay1orjones tay1orjones marked this as a duplicate of #11982 Aug 29, 2022
@tay1orjones
Copy link
Member

I'm going to close this as a solution to the issue has been proposed and agreed upon in #11982

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

No branches or pull requests

2 participants