[wp-trac] [WordPress Trac] #65296: Library section under Media, search bar shifts position after searching in the WordPress admin area.

WordPress Trac noreply at wordpress.org
Sat May 23 09:59:39 UTC 2026


#65296: Library section under Media, search bar shifts position after searching in
the WordPress admin area.
---------------------------------------+---------------------------------
 Reporter:  abduremon                  |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  7.0.1
Component:  Administration             |     Version:  7.0
 Severity:  major                      |  Resolution:
 Keywords:  has-screenshots has-patch  |     Focuses:  ui, administration
---------------------------------------+---------------------------------
Changes (by wildworks):

 * milestone:  Awaiting Review => 7.0.1


Comment:

 I believe this issue is a regression caused by the following style added
 by r61645.

 {{{
 #!css
 .upload-php .wp-filter {
         display: flex;
 }
 }}}

 When performing a filter search, `display: block` is applied to the
 overlay, which seems to cause unintended issues with flex layouts.

 {{{
 <div class="media-toolbar wp-filter"> <!-- `display: flex` is applied -->
     <div class="media-toolbar-secondary">
     </div>
     <div class="media-toolbar-primary search-form">
     </div>
     <div class="media-bg-overlay" style="display: none;"></div> <!--
 `display:block` is dynamically applied here during filter search -->
 </div>
 }}}

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


More information about the wp-trac mailing list