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

Deleting all items changes vertical size of form-control-sm #496

Open
Sobotkama opened this issue Oct 18, 2022 · 5 comments
Open

Deleting all items changes vertical size of form-control-sm #496

Sobotkama opened this issue Oct 18, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@Sobotkama
Copy link

Describe the bug
When using theme bootstrap 5 and the select has class form-control-sm, the entire select grows vertically when all items are deleted.

To Reproduce

  1. Go to https://tom-select.js.org/examples/styling/
  2. Select theme Bootstrap 5
  3. Delete all the items in the form-control-sm or form-control-sm (single) example on the right
  4. The select's height increases

Expected behavior
The select's height stays the same when

Additional context
Add any other context about the problem here.

  • OS: Windows
  • Browser chrome v106, firefox
  • Version 2.2.2
@Sobotkama Sobotkama added the bug Something isn't working label Oct 18, 2022
@zipper
Copy link

zipper commented Oct 21, 2022

I have just noticed the same. Also when single select is used, the selected item is not vertically centered, see the attached screenshot from Chrome 106 @ Windows 10. First part shows the bug from first post, on second line you can see the incorrect alignment.

obrazek

Copy link

This issue has not been active in 120 days and has been marked "stale". Remove stale label or comment or this will be closed in 15 days

@github-actions github-actions bot added the stale No activity label Nov 14, 2023
@Sobotkama
Copy link
Author

This issue is still relevant

@github-actions github-actions bot removed the stale No activity label Nov 16, 2023
Copy link

This issue has not been active in 120 days and has been marked "stale". Remove stale label or comment or this will be closed in 15 days

@github-actions github-actions bot added the stale No activity label Mar 16, 2024
@zipper
Copy link

zipper commented Mar 27, 2024

Still relevant

@github-actions github-actions bot removed the stale No activity label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants