[wp-trac] [WordPress Trac] #64321: Media Library Search Field Obscured by Plugin Fields

WordPress Trac noreply at wordpress.org
Tue Dec 2 17:19:39 UTC 2025


#64321: Media Library Search Field Obscured by Plugin Fields
-----------------------------------------+--------------------------------
 Reporter:  kuba799                      |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Media                        |     Version:  6.8.3
 Severity:  blocker                      |  Resolution:
 Keywords:  reporter-feedback has-patch  |     Focuses:  ui, accessibility
-----------------------------------------+--------------------------------

Comment (by maulikmakwana2008):

 This patch fixes a UI issue where the Media Library search field becomes
 hidden when plugins add custom filter tools to the Media Modal toolbar.

 The problem occurs because .media-toolbar and .media-frame-toolbar have
 fixed or constrained heights, causing the search bar to overflow outside
 the visible area.

 This patch:

 - **allows the toolbar to auto-expand** (height: auto)

 - **enables wrapping of toolbar elements** (flex-wrap: wrap)

 - **ensures no clipping** (overflow: visible)

 The solution is fully backward-compatible and does not affect existing
 plugin integrations. No structural changes to the Media Modal were
 required.

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


More information about the wp-trac mailing list