Skip to content

Scrolling not working with keyboard in AutoComplete #2220

@Lindsay-Mathieson

Description

@Lindsay-Mathieson

🐛 Bug Report

When an auto complete has many items in its drop down, which require scrolling to access, using the keyboard down arrow to navigate down the list causes the selection bar to vanish below the list viewport. Scrolling with the mouse works fine

💻 Repro or Code Sample

The Many Items sample from the demo site

https://www.fluentui-blazor.net/Autocomplete#manyitems

🤔 Expected Behavior

After opening the autocomplete dropdown, using the down arrow to move down the list should cause scrolling when the selection bar hits the bottom of the dropdown pane

😯 Current Behavior

The selected row moves out of sight. Using the Up arrow brings it back into sight.

💁 Possible Solution

🔦 Context

I'm developing a data entry page for customers in a WPF Blazor app which needs to be keyboard accessible.

🌍 Your Environment

  • Windows desktop, Webbrowser
  • WebView2 in a a windows WPF App, Edge (Windows)
  • .NET 8, FluentUI 4.8, 4.7.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNew issue. Needs to be looked at

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions