Small/large version of dropdowns #139
patrickvuarnoz
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
@lindsaym-fa curious of your thoughts on this? Would specific sizes be better or would scaling based on, e.g. the current font size, be better? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @patrickvuarnoz, just a quick note that we're looking into this (and generally making |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some filters can easily be built using
<wa-select>
. In my situation for some of the filters I want to have more than just the options in the menu – think of a filter box for the options or toggles for all/none. This is very easy to build with a<wa-dropdown>
. In my layout I do use those<wa-dropdown>
alongside<wa-select>
.My problem now is that I'm using the
<wa-select>
withsize="small"
. In the<wa-dropdown>
I'm using a<wa-button>
withsize="small"
which makes the elements look the same size. But when you click on the<wa-select>
the menu options are also small but for the<wa-dropdown>
the menu options are regular size. This makes the whole thing inconsistent.Of course this can be fixed with some CSS and classes, but for consistency and simplicity it would be really cool/helpful if there was a small/large version of the
<wa-dropdown>
that could also be simply set bysize="small"
.I guess the
<wa-menu-item>
would also need to have asize
option where you could set that individually, but by default it would be easier if the<wa-menu-item>
and<wa-button>
would inherit thesize
setting from the<wa-dropdown>
, if this is even possible.I'm imagining something like this in an ideal world:
Beta Was this translation helpful? Give feedback.
All reactions