Replies: 3 comments 3 replies
-
I definitely want to keep an approach that's simple and very close to web standards. For that reason, this library is closely modeled after the APG's reference implementation of a combobox, which doesn't have the input in a popover. I think putting it in a popover adds a bit of complexity. I'd welcome a PR attempting it, but it's a decision I'll likely make based on the complexity of the implementation. I don't currently have plans to implement this myself. |
Beta Was this translation helpful? Give feedback.
-
The other possible benefit I see to this UI is making the feature discoverable. We have a bunch of comboboxes in a React app I maintain and I've recently seen several user recordings where people don't realize they can type to filter, so they scroll through hundreds of options. I think that problem might also be solved with placeholder text. (I'm intending to submit a clear widget PR in the next week or so which would also address part of the problem by making the clear action simpler.) |
Beta Was this translation helpful? Give feedback.
-
I'm gonna call it a "no" for now. Sorry to disappoint! I agree there's something to be said for the discoverability of the feature. But here's my reasoning for not implementing right now:
Not saying I won't change my mind on this at some point. But I am saying it's gonna take a good argument and possibly a good amount of convincing. I know this isn't what some people wanted to hear. Sorry about that! Can't build everything for everyone without creating a monster. |
Beta Was this translation helpful? Give feedback.
-
If the search input is in popover,
An example of search input in popover - https://ui.shadcn.com/docs/components/combobox
Beta Was this translation helpful? Give feedback.
All reactions