[wp-trac] [WordPress Trac] #52157: Sidebar widget not partial refreshing for first widget add and remove

WordPress Trac noreply at wordpress.org
Tue Dec 22 16:52:55 UTC 2020


#52157: Sidebar widget not partial refreshing for first widget add and remove
---------------------------+-----------------------------------------------
 Reporter:  rohitrpatil    |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Widgets        |    Version:  5.6
 Severity:  major          |   Keywords:  needs-partial-refresh needs-patch
  Focuses:  ui,            |
  performance              |
---------------------------+-----------------------------------------------
 When you add the first widget in the sidebar it's a refreshing customizer
 completely and not partial refreshing.

 1. Go to Customizer
 2. Go to the Widgets panel.
 3. Remove all the widgets one by one.
 4. At the last widget when you remove it, it refreshes the customizer.
 5. When adding the first widget it again refreshes the customizer.

 First onward, it partially refreshing the customizer as expected.

 Please find the attached video for further reference:
 https://a.cl.ly/WnulD9r6

 I need to programmatically add the widget to the dynamic sidebar but as it
 is refreshing the customizer when adding the first widget to the sidebar I
 can not proceed with my custom CSS logic.


 Please check and let me know if you need anything else.

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


More information about the wp-trac mailing list