Dropdown component #205
kandrelczyk
started this conversation in
General
Replies: 3 comments
-
I think we can just develop a new Dropdown component. Reusing existing components will only increase coupling. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ok, I'm happy to start working on it if you haven't already. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I haven't started writing yet, welcome PR. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm missing a nice dropdown component like this one: https://www.naiveui.com/en-US/os-theme/components/dropdown
I use drawer for the main menu and I need dropdown like component for a secondary menu, similar to this:
Currently we can almost get something like this with Popover and Menu combination but they don't work well together. Popover's background color and menu's font color don't have enough contrast (not to mention paddings and the unnecessary arrow).
Select component looks right but it's function is completely different.
What do you think is the best way to get the Dropdown component? I think the confusing part for me is that it should behave like Popover with Menu inside but it should look like Select component. Should just be a completely new component following the design of Select but working like Popover? The menu inside Dropdown should also be a new component? Or do you think it's possible to reuse parts of the existing components?
Beta Was this translation helpful? Give feedback.
All reactions