Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#49401 closed defect (bug) (fixed)

Widgets: select overflow when text is too long

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

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

Download all attachments as: .zip

Change History (7)

#1 @audrasjb
7 years ago

  • Focuses css added
  • Version → 5.3

#2 @dkarfa
7 years ago

  • Keywords dev-feedback added

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

#3 @audrasjb
7 years ago

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

Patch looks good to me 👍
Marking this for commit.

#4 @audrasjb
7 years ago

  • Keywords dev-feedback removed

#5 @SergeyBiryukov
7 years ago

  • Resolution → fixed
  • Status accepted → 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.