[wp-trac] [WordPress Trac] #57899: Bad javascript in customize-controls.js for padding-top causes bugs

WordPress Trac noreply at wordpress.org
Thu Mar 9 23:06:44 UTC 2023


#57899: Bad javascript in customize-controls.js for padding-top causes bugs
--------------------------+-----------------------------
 Reporter:  akissz        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The code for sections "Release header element if it is sticky." and "Reset
 position of the sticky header." is very bad old code and should be coded
 in a more modern way now. This code causes bugs in many situations and
 should either be eliminated all together and replaced with modern css
 only/instead or improved javascript to not include a forced css for
 padding-top.

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


More information about the wp-trac mailing list