filterable dropdown inputs (n-select, n-tree-select) won't close on click, only when blured
ChenGutt opened this issue · comments
Describe the bug
When passing the filterable prop to either n-select or n-tree-select, it is no longer possible to toggle the option menu. I can open it but I cannot close it. It will get closed only when blured.
Steps to reproduce
- create a filterable n-select
- try to toggle the menu open/close
alternatively:
- go to naive ui select element and search for the Filterable example : https://www.naiveui.com/en-US/os-theme/components/select
- try to toggle the menu
Link to minimal reproduction
https://www.naiveui.com/en-US/os-theme/components/select
System Info
-
Used Package Manager
npm
Validations
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.