Bug 40583

Summary: select2 selections can look odd depending on the length of the selections
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, oleonard, pedro.amorim
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37050
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

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.