Skip to content

ComboBox - Scrolls to end of popup when typing #7573

Open
@bmingles

Description

Provide a general summary of the issue here

In certain cases typing in an open ComboBox causes it to scroll to the end of the list.

spectrum-combobox-scroll

🤔 Expected Behavior?

I would expect the ComboBox would scroll to a more intuitive position while typing such as the beginning of the filtered list, the selected item, or no scrolling at all.

😯 Current Behavior

It currently scrolls to the end of the list in certain scenarios (see codesandbox)

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

Code sandbox example

  1. Open ComboBox
  2. Manually scroll to selected "Display 91" item
  3. Backspace the 1 in the search box resulting in "Display 9"
  4. Scroll jumps to end of CombobBox

Version

3.38.0

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

MacOS

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      🩺 To Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions