-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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]: Opening dropdown should not scroll to selected item #18089
Comments
Hi I am new to open source, I'm willing to do this , can you suggest me how to move forward. |
Hey @kglickman @rajat153 We have a Contributing guide for you to get started here |
@guidari I would not say that those two defects are the same. They are talking about when you are focused on an item. I'm not focusing, not typing, not using the arrow keys. I'm just opening the dropdown. |
The issues might not be clear, but this PR introduced the |
This is working as intended |
Package
@carbon/react
Browser
Chrome
Package version
"1.67.0
React version
18.3.1
Description
We upgraded from 1.53.1 to 1.67.0. The behavior of the dropdown changed to scroll down to the currently selected item. This is not desirable behavior. I opened the dropdown because I want to change the value. Therefore, there's no reason to scroll down to see the selected one. Often, it means I just have to scroll back up.
For example,
Now it could be that I only wanted to select Option 7, so the behavior isn't as annoying. But the scroll into view is really jarring and there's really no good reason I can think of that I would want to scroll the current value into view when I'm about to change it to something else.
QE has reported a bug on this and I had found it very annoying even before then.
Reproduction/example
see description above
Steps to reproduce
see description above
Suggested Severity
None
Application/PAL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: