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

[BUG] - When AutoComplete option is selected, the dialog (of options) is not closed properly. #4379

Open
pacoorozco opened this issue Dec 17, 2024 · 1 comment

Comments

@pacoorozco
Copy link

NextUI Version

2.6.8

Describe the bug

When an <AutoComplete> option is selected programmatically (using react-testing lib) the dialog that contains the options is not closed, it's on top of the rest of the document, and it doesn't allow to select other components in the same page.

See #4376

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

On the discussion I've shared some code to reproduce the issue: #4376

Expected behavior

As a user, I'd expect that after selection the option in the <AutoComplete> the dialog is closed so other items can be clicked (like the 'Create' button in the example above)

Screenshots or Videos

No response

Operating System Version

Linux

Browser

Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant