Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#49401 closed defect (bug) (fixed)

Widgets: select overflow when text is too long

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

Description

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 5 years ago.
49401.1.diff (719 bytes) - added by alexischenal 5 years ago.

Download all attachments as: .zip

Change History (7)

#1 @audrasjb
5 years ago

  • Focuses css added
  • Version set to 5.3

@alexischenal
5 years ago

#2 @dkarfa
5 years ago

  • Keywords dev-feedback added

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

#3 @audrasjb
5 years 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
5 years ago

  • Keywords dev-feedback removed

#5 @SergeyBiryukov
5 years 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.