Make WordPress Core

#49401 closed defect (bug) (fixed)

Widgets: select overflow when text is too long

Reported by: audrasjb Owned by: audrasjb
Milestone: 5.4 Priority: normal
Severity: normal Version: 5.3
Component: Widgets Keywords: has-screenshots commit has-patch
Focuses: ui, css Cc:


There is an overflow issue with widgets that contain select form fields.
When the text of an option is too long, the select overflows its container.

See an example below with navigation menu.
It also occurs on plugin’s widgets, I reproduced the issue on one of my plugins.

Moving this to 5.4. I know we are close to beta 1 but this bug is pretty self contained.

Attachments (2)

02aebb1283c5b3c1d51197e24f6325fd.gif (1.5 MB) - added by audrasjb 18 months ago.
49401.1.diff (719 bytes) - added by alexischenal 18 months ago.

Download all attachments as: .zip

Change History (7)

#1 @audrasjb
18 months ago

  • Focuses css added
  • Version set to 5.3

#2 @dkarfa
18 months ago

  • Keywords dev-feedback added

Thanks @alexischenal
Test with the patch and it working fine.

#3 @audrasjb
18 months ago

  • Keywords commit has-patch added; needs-patch removed
  • Owner set to audrasjb
  • Status changed from new to accepted

Patch looks good to me 👍
Marking this for commit.

#4 @audrasjb
18 months ago

  • Keywords dev-feedback removed

#5 @SergeyBiryukov
17 months ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 47365:

Widgets: Avoid an overflow issue in widget controls that include <select> form fields.

Props alexischenal, audrasjb, dkarfa.
Fixes #49401.

Note: See TracTickets for help on using tickets.