microsoft / fluentui

Fluent UI web represents a collection of utilities, React components, and web components for building web applications.
https://react.fluentui.dev
Other
18.32k stars 2.72k forks source link

[Bug]: Combobox with virtualized options doesnt page down/up as expected #32220

Open daric81 opened 1 month ago

daric81 commented 1 month ago

Library

React Components / v9 (@fluentui/react-components)

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (24) x64 13th Gen Intel(R) Core(TM) i7-13700
    Memory: 10.71 GB / 31.70 GB
  Browsers:
    Edge: Chromium (127.0.2651.86)
    Internet Explorer: 11.0.19041.4355

Are you reporting an Accessibility issue?

None

Reproduction

https://stackblitz.com/edit/vcdhme

Bug Description

Actual Behavior

When using the page down keys , the first time the focus moves 10 options down. subsequent page down key presses only move down 2 options. This can be visible in the fluentui documentation sample for the Combobox Virtualizer.

Expected Behavior

I'd expect options to page down by the same number (10 at a time) until the end is reached.

Logs

No response

Requested priority

Blocking

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations

swapanmandi commented 1 week ago

need a explain