[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
Tue May 26 10:01:03 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 has-test-  |     Focuses:  ui,
  info                                           |  administration
-------------------------------------------------+-------------------------

Comment (by darshitrajyaguru97):

 == Patch tested: ==
 https://github.com/WordPress/wordpress-develop/pull/11937

 Environment
 * WordPress: 7.1-alpha-62161-src
 * PHP: Latest
 * MySQL: 8.4
 * OS: Windows
 * Browser: Chrome
 * Viewport: Desktop (>782px)

 Test Procedure
 # Sign in to the WordPress admin area.
 # Navigate to Media → Library using Grid mode (/wp-
 admin/upload.php?mode=grid).
 # Ensure the browser width remains above 782px.
 # Enter text into the “Search media” input and then remove it.
 # Switch the media date dropdown to another month/year option.
 # Repeat the search and clear actions multiple times.

 Observed Results
 * Search interactions in Grid view remained visually stable with no
 horizontal movement in the toolbar area.
 * Changing the date filter refreshed correctly without causing the search
 controls to shift position.
 * Removing the search term did not trigger any noticeable layout jump.

 Final Notes
 The proposed patch successfully resolves the desktop layout shift issue
 reported in the ticket. Tested successfully and appears ready for commit.

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


More information about the wp-trac mailing list