nextui-org / nextui

🚀 Beautiful, fast and modern React UI library.
https://nextui.org
MIT License
21.94k stars 1.53k forks source link

[BUG] - Autocomplete closes instantly when trying to manually open #3686

Open jhargett opened 2 months ago

jhargett commented 2 months ago

NextUI Version

2.4.6

Describe the bug

When trying to open the autocomplete manually or sometimes by just focusing the autocomplete, the menu will quickly close itself and you have to manually open it again. This is only happening ( as far as i know ) on ios safari. I tried replicating on chrome (mobile & desktop) and i could not.

Your Example Website or App

https://nextui.org/docs/components/autocomplete

Steps to Reproduce the Bug or Issue

  1. Go to https://nextui.org/docs/components/autocomplete on safari (iOS)
  2. Try to open the autocomplete by clicking the chevron
  3. See that the autocomplete menu quickly appears and then disappears

Expected behavior

I expect the autocomplete menu should open normally and not close by itself

Screenshots or Videos

https://github.com/user-attachments/assets/acd4f9d7-8567-4f08-ae26-5ec2c2f488ea

Operating System Version

iOS

Browser

Safari

linear[bot] commented 2 months ago

ENG-1296 [BUG] - Autocomplete closes instantly when trying to manually open