Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auro-select: Dropdown list too narrow and expanding to full screen #216

Closed
dPopeAlaskaAir opened this issue Nov 6, 2024 · 1 comment · Fixed by #220
Closed

auro-select: Dropdown list too narrow and expanding to full screen #216

dPopeAlaskaAir opened this issue Nov 6, 2024 · 1 comment · Fixed by #220
Assignees
Labels
auro-select Type: Bug Bug or Bug fixes

Comments

@dPopeAlaskaAir
Copy link

Describe the bug

Select component has a couple of issues when it comes to laying out the options for the dropdown

  • When there are many options, the screen scrolls. See image
  • When the control is narrow, the options list is also narrow

To Reproduce

Steps to reproduce the behavior:

Code example:

<auro-select
    aria-label="Phone Code"
    class="xs:tw-col-span-2 sm:tw-col-span-3 md:tw-col-span-2 lg:tw-col-span-2"
    value="1"
>
    <span slot="label">Code</span>
    <auro-menu>
        <auro-menuoption value="1">United States/Canada (+1)</auro-menuoption>
        <auro-menuoption value="506">Costa Rica (+506)</auro-menuoption>
        <auro-menuoption value="52">Mexico (+52)</auro-menuoption>
        <auro-menuoption value="93">Afghanistan (+93)</auro-menuoption>
        <auro-menuoption value="355">Albania (+355)</auro-menuoption>

Expected behavior

Screenshots

image

Desktop (please complete the following information):

  • OS: Sonoma 14.4
  • Browser Chrome
  • Version 130.0.6723.59

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context

@dPopeAlaskaAir dPopeAlaskaAir added auro-select not-reviewed Issue has not been reviewed by Auro team members Type: Bug Bug or Bug fixes labels Nov 6, 2024
@Patrick-Daly-AA Patrick-Daly-AA removed the not-reviewed Issue has not been reviewed by Auro team members label Nov 6, 2024
@Patrick-Daly-AA
Copy link

I think we have parameters you can configure to address these issues. We'll have an engineer reach out to you @dPopeAlaskaAir to talk

blackfalcon pushed a commit that referenced this issue Nov 13, 2024
# [3.2.0](v3.1.2...v3.2.0) (2024-11-13)

### Features

* add attribute to have bib width match content width [#216](#216) ([f84293c](f84293c))

### Performance Improvements

* demonstrate how to set custom bib height [#134](#134) [#216](#216) ([c8079af](c8079af))
* update dependencies ([e334ca0](e334ca0))
* update rollup config ([ec5b33f](ec5b33f))
* update to use restructured WCA doc build ([2600537](2600537))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auro-select Type: Bug Bug or Bug fixes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants