Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete popper is not closing after clicking outside #42254

Open
ok2ju opened this issue May 16, 2024 · 0 comments
Open

Autocomplete popper is not closing after clicking outside #42254

ok2ju opened this issue May 16, 2024 · 0 comments
Assignees
Labels
component: autocomplete This is the name of the generic UI component, not the React module! component: Popper The React component. See <Popup> for the latest version. status: waiting for maintainer These issues haven't been looked at yet by a maintainer

Comments

@ok2ju
Copy link

ok2ju commented May 16, 2024

Steps to reproduce

Link to live example: (required)
https://stackblitz.com/edit/stackblitz-starters-turvq6?file=src%2FApp.tsx

Prerequisites:

  • Saved address data in Chrome (autofill data).

Steps:

  1. Click on "postal code" field, and select data for autofill (saved in Chrome);
  2. Autocomplete popper will be opened. Click outside of the autocomplete component;

mui-autocomplete-issue

Current behavior

Autocomplete popper isn't closing.

Expected behavior

Autocomplete popper closed.

Context

No response

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: autocomplete, click-outside, dropdown

@ok2ju ok2ju added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 16, 2024
@zannager zannager added component: Popper The React component. See <Popup> for the latest version. component: autocomplete This is the name of the generic UI component, not the React module! labels May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: autocomplete This is the name of the generic UI component, not the React module! component: Popper The React component. See <Popup> for the latest version. status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Projects
None yet
Development

No branches or pull requests

3 participants