[wp-trac] [WordPress Trac] #32841: Partial refresh <div> in menu customizer breaks some theme designs

WordPress Trac noreply at wordpress.org
Tue Jun 30 15:31:08 UTC 2015


#32841: Partial refresh <div> in menu customizer breaks some theme designs
--------------------------+-----------------------------
 Reporter:  greenshady    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I originally reported this in #32576.  See entire discussion here:
 https://core.trac.wordpress.org/ticket/32576#comment:17

 With one of my themes that has a hidden menu by default, the menu is
 opened and messes up the theme design with the change (screenshot
 attached). This happens due to this `<div>` that gets injected:

 {{{
 <div id="partial-refresh-menu-container-1" class="partial-refresh-menu-
 container" data-instance-number="1">
 }}}

 Injecting an additional `<div>` has potential to cause some unintended
 consequences with theme designs.

 It was suggested that we add the attributes directly to the menu container
 instead of adding the `<div>`.

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


More information about the wp-trac mailing list