Bug 40583 - select2 selections can look odd depending on the length of the selections
Summary: select2 selections can look odd depending on the length of the selections
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-01 19:56 UTC by Lucas Gass (lukeg)
Modified: 2025-08-04 08:27 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
example (19.03 KB, image/png)
2025-08-01 19:56 UTC, Lucas Gass (lukeg)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2025-08-01 19:56:09 UTC
Created attachment 185076 [details]
example

This was mentioned on Bug 36135 where there is a select2 dropdown. However, the problem is more general and I can recreate in item search. 

To recreate:

-Go to item search
-Add a couple selections to the one of the select2 dropdowns 
-Notice the odd positioning of the selections
Comment 1 Lucas Gass (lukeg) 2025-08-01 20:09:21 UTC
It makes sense that it is doing this, the selections are set to "float: left;" in select2.css
Comment 2 Pedro Amorim 2025-08-04 08:27:39 UTC
Adding bug 37050, it may be relevant as I remember it having a styling related issue that was fixed there.