tusen-ai / naive-ui

A Vue 3 Component Library. Fairly Complete. Theme Customizable. Uses TypeScript. Fast.

Home Page:https://www.naiveui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. create a filterable n-select
  2. try to toggle the menu open/close

alternatively:

  1. go to naive ui select element and search for the Filterable example : https://www.naiveui.com/en-US/os-theme/components/select
  2. 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