Polaris-react: [AutoComplete] Dropdown not closing in Modal

Created on 4 Feb 2020  路  5Comments  路  Source: Shopify/polaris-react

Issue summary

The Dropdown of the autocomplete is not closing after choosing an item of the autocomplete inside a Modal.

Expected behavior

After clicking on an item, the dropdown should automatically close.

Actual behavior

The dropdown doesn't close and stays open.

Steps to reproduce the problem

Implement an AutoComplete inside a Modal.

Specifications

  • Are you using the React components? (Y/N): Y
  • Polaris version number: 4.13.1
  • Browser: Chrome 79.0.3945.130
  • Device: Macbook Pro
  • Operating System: Catalina (macOS 10.15.1)
Icebox

Most helpful comment

any news on this one?
We're facing same behavior.

All 5 comments

any news on this one?
We're facing same behavior.

this has been fixed in new version, probably by #2681

This issue has been inactive for 180 days and labeled with Icebox. It will be closed in 7 days if there is no further activity.

We are experiencing this issue in Polaris 5.10.1.

@sijad Is this still working as expected for you?

@ryanphuggins sorry, I'm not using this library anymore.

Was this page helpful?
0 / 5 - 0 ratings