[wp-trac] [WordPress Trac] #27307: Text Widget size spill over the side of Widget Container in random width.

WordPress Trac noreply at wordpress.org
Thu Jan 29 05:07:43 UTC 2026


#27307: Text Widget size spill over the side of Widget Container in random width.
-------------------------------------------------+-------------------------
 Reporter:  RDall                                |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Widgets                              |     Version:  3.8.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing dev-         |     Focuses:
  feedback close                                 |
-------------------------------------------------+-------------------------

Comment (by huzaifaalmesbah):

 == Patch Testing Report ==

 Patch Tested: https://github.com/WordPress/wordpress-develop/pull/10815

 === Environment ===

 * '''WordPress:''' 7.0-alpha-20260129.102941
 * '''PHP:''' 8.2.30
 * '''Server:''' nginx/1.29.4
 * '''Database:''' mysqli (Server: 9.5.0 / Client: mysqlnd 8.2.30)
 * '''Browser:''' Chrome 143.0.0.0
 * '''OS:''' macOS
 * '''Theme:''' Twenty Nineteen 3.2
 * '''MU Plugins:''' None
 * '''Plugins:'''
   * Classic Widgets 0.3
   * Test Reports 1.2.1

 === Steps taken ===

 1. Tested widget behavior '''without the patch''' using the Classic
 Widgets interface.
 2. Added '''Text, Custom HTML, and RSS widgets''' to a sidebar.
 3. Resized the browser to small widths (~414px) and tested using browser
 zoom.
 4. Observed widgets overflowing outside the viewport.
 5. '''Applied the patch'''.
 6. Re-tested the same widgets under the same conditions.

 '''Result:''' ✅ Patch is solving the problem.

 === Expected result ===

 * Widgets remain fully inside the sidebar container.
 * No part of the widget overflows outside the viewport on small screens or
 zoomed views.

 === Additional Notes ===

 * Issue is reproducible only in the '''Classic Widgets''' interface.
 * Problem is most noticeable on small screens and high zoom levels.
 * Patch removes unnecessary behavior that caused negative margin overflow.
 * No regressions observed during testing.

 === Screenshots / Screencast ===

 * '''Before patch (overflow visible):'''
   https://files.catbox.moe/sho719.mp4

 * '''After patch (overflow resolved):'''
   https://files.catbox.moe/fhmli2.mp4

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/27307#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list