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

When dropdown has prop close-on-select set to true (default for single-select), selecting a currently "selected" option from the listbox should close the listbox as well. #1126

Closed
sashamilenkovic opened this issue Jan 16, 2024 · 1 comment
Assignees
Labels
🐛 bug Verified bug by team 🔵 priority-3 3. Lower priority issue Pro Pertains to FormKit Pro

Comments

@sashamilenkovic
Copy link
Contributor

Reproduction

https://formkit.link/c4a95320f89c65b880901c4080a8b79f

Describe the bug

In the playground reproduction, open the dropdown and select "Vue", the dropdown does not close.

Environment

• OS: [e.g. iOS]
• Browser [e.g. chrome, safari]
• Version [e.g. 22]

@sashamilenkovic sashamilenkovic added 🐛 bug Verified bug by team 🔵 priority-3 3. Lower priority issue Pro Pertains to FormKit Pro labels Jan 16, 2024
@sashamilenkovic sashamilenkovic self-assigned this Jan 16, 2024
@sashamilenkovic sashamilenkovic changed the title When dropdown has prop clear-on-select set to true, selecting a currently "selected" option from the listbox should close the listbox as well. When dropdown has prop close-on-select set to true, selecting a currently "selected" option from the listbox should close the listbox as well. Jan 16, 2024
@sashamilenkovic sashamilenkovic changed the title When dropdown has prop close-on-select set to true, selecting a currently "selected" option from the listbox should close the listbox as well. When dropdown has prop close-on-select set to true (default for single-select), selecting a currently "selected" option from the listbox should close the listbox as well. Jan 16, 2024
@sashamilenkovic
Copy link
Contributor Author

This is now fixed at v0.121.1 of FormKit Pro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Verified bug by team 🔵 priority-3 3. Lower priority issue Pro Pertains to FormKit Pro
Projects
None yet
Development

No branches or pull requests

1 participant