[wp-trac] [WordPress Trac] #53478: WordPress Theme Section

WordPress Trac noreply at wordpress.org
Tue Jun 22 23:27:07 UTC 2021


#53478: WordPress Theme Section
-------------------------------------+-------------------------------------
 Reporter:  wparslan                 |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.9
Component:  Themes                   |     Version:  5.7.2
 Severity:  major                    |  Resolution:
 Keywords:  has-screenshots needs-   |     Focuses:  ui, css,
  patch                              |  administration
-------------------------------------+-------------------------------------
Changes (by sabernhardt):

 * keywords:  has-screenshots => has-screenshots needs-patch
 * focuses:  ui, accessibility, css, administration => ui, css,
              administration
 * milestone:  Awaiting Review => 5.9


Comment:

 @wparslan Thanks for the report!

 When the width and height are near where the scrollbar begins to show, the
 browser window can try to re-calculate the dimensions when hovering over
 items. That shifts the layout to include the scrollbar. I think it's
 related to the percent margins on the "card" for each theme, too.

 Your video shows the problem in Edge, and the same happens in Chrome. One
 of the random window sizes where I saw this was 1240x760, without the
 theme activation notice above the theme cards. (I haven't been able to
 reproduce it in Firefox, though.)

 One possible solution is adding the scrollbar to that page for everyone:
 {{{
 .themes-php {
     overflow-y: scroll;
 }
 }}}

 While the flashing is particularly bad for some people, I removed the
 accessibility keyword because it's a more general interface problem.

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


More information about the wp-trac mailing list