nuxt / ui

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
https://ui.nuxt.com
MIT License
3.71k stars 445 forks source link

SelectMenu can have a size, but dropdown and search input do not reflect that #446

Open ahoiroman opened 1 year ago

ahoiroman commented 1 year ago

Version

@nuxthq/ui: 2.5 nuxt: 3.6.2

Steps to reproduce

Add a SelectMenu like this:

<USelectMenu v-model="people"  size="xl" :options="peopleList"/>

What is Expected?

The size of the input changes to xl (it does) and the dropdown including the items and the search box adapt to the size (they don't)

benjamincanac commented 1 year ago

I agree it would nicer to have this, but it's quite hard to design the menu in 6 different sizes (one for each size of the select).

Do you have any example of a library doing this?