Skip to content

[Autocomplete] On mobile selecting option keeps keyboard open #18788

@scott-mcnulty

Description

@scott-mcnulty

When using the autocomplete input on mobile the keyboard doesn't disappear after selecting an item from the dropdown list. Even when selecting an item and seeing it populate the input then clicking the enter key on the keyboard is still there.

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

Keyboard doesn't disappear on mobile when selecting something from the autocomplete input.

Expected Behavior 🤔

After typing and selecting a match in the list the keyboard should disappear.

Steps to Reproduce 🕹

Steps:

  1. Go to material-ui.com on mobile
  2. Select an autocomplete input and start typing
  3. Click item from list of matches

Context 🔦

I'm making a progressive web app and would like to stay within the material ui component library instead of moving to use react-select or downshift for autocomplete search

Your Environment 🌎

Tech Version
Material-UI (lab) v4.0.0-alpha.35
Browser Chrome 78.0.3904.108
OS Android 9

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: new featureExpand the scope of the product to solve a new problem.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions