Page MenuHomePhabricator

[commons wmf.18] Categories field - suggestions don't wrap up in drop-down list
Closed, ResolvedPublicBUG REPORT

Assigned To
Authored By
Etonkovidova
Feb 26 2025, 9:24 PM
Referenced Files
Restricted File
Mar 20 2025, 7:17 PM
Restricted File
Mar 20 2025, 7:17 PM
Restricted File
Mar 20 2025, 7:17 PM
F58827810: Screen Shot 2025-03-14 at 12.42.32 PM.png
Mar 14 2025, 7:50 PM
F58827805: Screen Shot 2025-03-14 at 12.25.16 PM.png
Mar 14 2025, 7:50 PM
F58827803: Screen Shot 2025-03-14 at 12.30.45 PM.png
Mar 14 2025, 7:50 PM
F58507308: Screen Shot 2025-02-26 at 1.01.16 PM.png
Feb 26 2025, 9:24 PM
F58507285: Screen Shot 2025-02-26 at 12.59.59 PM.png
Feb 26 2025, 9:24 PM

Description

Steps to replicate the issue

  • On commons wmf.18 start uploading an image via Special:UploadWizard
  • In the Description step in the Categories field enter "A

What happens?:

  • The drop-down list of suggestions width is wider than the input field

Screen Shot 2025-02-26 at 12.59.59 PM.png (1×2 px, 237 KB)

  • The larger width is supposedly caused by long categories titles not being wrapped

Screen Shot 2025-02-26 at 1.01.16 PM.png (904×2 px, 247 KB)

What should have happened instead?:

  • the width of the list of suggestions should be the same width as the input field

Software version : wmf.18

Details

Event Timeline

Change #1126909 had a related patch set uploaded (by Matthias Mullie; author: Matthias Mullie):

[mediawiki/extensions/UploadWizard@master] Wrap categories in autocomplete

https://gerrit.wikimedia.org/r/1126909

Change #1126909 merged by jenkins-bot:

[mediawiki/extensions/UploadWizard@master] Wrap categories in autocomplete

https://gerrit.wikimedia.org/r/1126909

Checked on commons beta and commons wmf.21 - the fix is in place:

commons betacommons wmf.21
desktop:
Screen Shot 2025-03-14 at 12.30.45 PM.png (1×1 px, 154 KB)
Screen Shot 2025-03-14 at 12.25.16 PM.png (472×1 px, 95 KB)
mobile:
Screen Shot 2025-03-14 at 12.42.32 PM.png (1×870 px, 164 KB)
{F58882265} {F58882267}{F58882271}