tom-select
tom-select copied to clipboard
Deleting all items changes vertical size of form-control-sm
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
- Go to https://tom-select.js.org/examples/styling/
- Select theme
Bootstrap 5
- Delete all the items in the
form-control-sm
orform-control-sm (single)
example on the right - 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
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.
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
This issue is still relevant
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
Still relevant
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
Still relevant