Skip to content

[autocomplete] Scroll resets to top on option selection when popup is reopened by clicking the input #47203

@PeterTaankvist

Description

@PeterTaankvist

Steps to reproduce

Steps:

  1. Open this link: https://mui.com/material-ui/react-autocomplete/#checkboxes
  2. Open autocomplete and scroll the popup until the scroll position is not at the top
  3. Now select an item
  4. The scroll position jumps back up to the top
MUiAutocomplete.mp4

Current behavior

The scrollbar jumps

Expected behavior

I expect it not to jump

Context

No response

Your environment

I used chrome

Search keywords: Autocomplete Scrollbar Jump

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: autocompleteChanges related to the autocomplete. This includes ComboBox.type: bugIt doesn't behave as expected.type: regressionA bug, but worse, it used to behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions