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

Add force close method in Select #553

Closed
Marginy605 opened this issue Feb 27, 2023 · 0 comments · Fixed by #558
Closed

Add force close method in Select #553

Marginy605 opened this issue Feb 27, 2023 · 0 comments · Fixed by #558
Assignees

Comments

@Marginy605
Copy link
Contributor

It's necessary to have some way of force closing an opened SelectList.

The case is that my component uses Select and I need to update Select's options array on resize. It would be better to close the list before update.

Example of usage:
image
image

I use workaround with setting opened/closed status in onOpenChange callback and click outside of Select for now. However it's better to use some direct way.

@Marginy605 Marginy605 changed the title Add close method in Select Add force close method in Select Feb 27, 2023
@korvin89 korvin89 assigned imechoim and unassigned korvin89 Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants