[wp-trac] [WordPress Trac] #50933: Lazy loading in 5.5 causes flashing of custom logo in Firefox

WordPress Trac noreply at wordpress.org
Wed Aug 12 09:20:09 UTC 2020


#50933: Lazy loading in 5.5 causes flashing of custom logo in Firefox
--------------------------+-----------------------------
 Reporter:  demetris      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 That is, when navigating from post to post or from page to page using, for
 example, the site menu links, the logo flashes sometimes — not always but
 more often than not.

 Happens with Twenty Twenty as well as a custom theme I am working on.

 Happens with Firefox 80 (Beta channel) and Firefox 81 (Nightly channel) on
 Windows 10.

 Does not happen with Chrome 84 on Windows 10.

 Does not happen if I disable lazy loading using `wp_lazy_loading_enabled`.

 Do other people see the same behaviour?

 If yes, I imagine this is something that could or will be fixed in
 Firefox, but maybe we could do something in the meantime.

 For example, we could disable lazy loading for the logo image  when
 calling `wp_get_attachment_image()` from `get_custom_logo()` — unless we
 have reasons to use lazy loading for the custom logo.

 Cheers!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50933>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list