[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
Mon May 25 05:25:49 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
---------------------------------------+---------------------------------

Comment (by khokansardar):

 == Patch testing report ==

 '''Patch / PR tested'''
 * https://github.com/WordPress/wordpress-develop/pull/11937
 * trunk @ ac539ca198 with PR diff applied

 '''Environment'''
 * WordPress: 7.1-alpha-62161-src
 * PHP: latest (Docker)
 * MySQL: 8.4
 * OS: macOS 26.3.1
 * Browser: Chromium, desktop viewport (>782px)
 * Local wordpress-develop @ http://localhost:8889

 '''Steps'''
 # Log in to wp-admin.
 # Open Media → Library in Grid view (/wp-admin/upload.php?mode=grid).
 # Use a desktop-width window (>782px).
 # Type and delete text in the Search media field.
 # Change the date filter (e.g. All dates → May 2026).
 # Clear search and repeat.

 '''Results'''
 * Typing in search (grid view): '''pass''' — no horizontal toolbar shift
 observed.
 * Date filter change: '''pass''' — toolbar/search bar position stable
 during refresh.
 * Clearing search: '''pass''' — no layout jump.

 '''Conclusion'''
 PR #11937 fixes the reported layout shift on desktop. Recommend commit.

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


More information about the wp-trac mailing list