fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

[Bug]: Automatic scrolling problem with options in a dropdown.

Open marchers opened this issue 1 year ago • 0 comments

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

  • [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • [X] The provided reproduction is a minimal reproducible example of the bug.

marchers avatar Feb 21 '24 03:02 marchers