microsoft / microsoft/fluentui
[Bug]: Automatic scrolling problem with options in a dropdown.
@khmakoto is already working on this.
Since Apr 29, 2024.
- Dominant language
- TypeScript
- Stars
- 20.3k
- Forks
- 2.9k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 46
Description
Library
React / v8 (@fluentui/react)
System Info
System:
OS: Windows 11 10.0.22621
CPU: (16) x64 AMD EPYC 9354 32-Core Processor
Memory: 8.28 GB / 26.00 GB
Browsers:
Edge: Chromium (121.0.2277.128)
Internet Explorer: 11.0.22621.1
Are you reporting Accessibility issue?
no
Reproduction
https://codepen.io/marchers-amadeus/pen/ExMJOOa
Bug Description
Actual Behavior
I am using @fluentui/react v8 to develop my website. When using a dropdown, I have limited the maximum height of dropdownItems due to having a large number of options. However, when I scroll down to the bottom using the scrollbar, as I hover my mouse, the dropdown items automatically scroll, making it difficult for me to select the desired option.
Expected Behavior
I would like the dropdown behavior to be the same as when there is no height restriction. Even when the scroll position is at the bottom, I don't want my mouse hover to affect the scrollbar's position.
Logs
No response
Requested priority
Normal
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.