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

Select component creates a white space when options does not fit the screen #374

Closed
6 tasks done
themagiulio opened this issue Nov 27, 2022 · 1 comment
Closed
6 tasks done
Labels
to triage This issue needs to be triaged

Comments

@themagiulio
Copy link

Describe the bug

When the Select component has a lot of options it goes under the screen and creates a white space in order to fit in (see attached pictures).

A solution could be adding a scrollbar when options does not fit.

1
2
3

Reproduction

I have added several options in the Button story.

https://stackblitz.com/edit/histoire-svelte3-starter-bzudub

System Info

System:
    OS: Linux 6.0 Void
    CPU: (8) x64 Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
    Memory: 5.04 GB / 7.72 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.12.1/bin/yarn
    npm: 8.19.2 - ~/.nvm/versions/node/v18.12.1/bin/npm
  Browsers:
    Chromium: 107.0.5304.87
    Firefox: 107.0

Used Package Manager

yarn

Validations

@themagiulio themagiulio added the to triage This issue needs to be triaged label Nov 27, 2022
@stackblitz
Copy link

stackblitz bot commented Nov 27, 2022

@Akryum Akryum closed this as completed in 2e22c18 Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant