Skip to content

[Autocomplete] disableCloseOnSelect + selecting using mouse = crash #18456

@TomasB

Description

@TomasB

The scenario is pretty common, in case a user tries to select multiple items in a dropdown list using a mouse.

Based on the official demo:
https://codesandbox.io/s/material-demo-2c4ph

Using a mouse:

  • expand dropdown
  • select an item (still ok)
  • without moving a mouse click on another item (crashes)

Works if the mouse pointer is moved, and the item is selected before clicking on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGreat for first contributions. Enable to learn the contribution process.scope: autocompleteChanges related to the autocomplete. This includes ComboBox.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions