Opened 8 years ago
Closed 3 years ago
#39099 closed defect (bug) (maybelater)
Customize: Defer triggering selective refresh for all settings until after synced
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.7 |
Component: | Customize | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
Selective refresh is triggered when a setting is added, changed, or removed. In the case of being added, there are scenarios where infinite full refresh can ensue if a partial has fallback refresh. This has been particularly evident for nav menus. While the infinite refreshes have largely been fixed for nav menus in #38612, there are still cases more generally where settings could be registered in the controls (admin) but not in the preview (pane). In the case of nav menus, this still causes a selective refresh to happen even at an initial page load.
This is essentially revisiting #37032.
Attachments (2)
Change History (19)
#2
@
8 years ago
Easiest way to reproduce this issue is to activate the Nav Menu Roles plugin and prevent a few menu items from being displayed when a user is logged in. When loading the customizer preview, the menu containing these excluded items will get initially selective-refreshed.
#4
@
8 years ago
- Version set to 4.7
+1, if we can eliminate the initial selective refresh for menus, even, this would be a big improvement. If the changes aren't too much more complex after addressing 1, I think it's worth getting this into the 4.7 branch.
This ticket was mentioned in Slack in #core by flixos90. View the logs.
8 years ago
#9
@
8 years ago
I noticed infinite refresh happening in Twenty Fifteen in 4.8 when deleting a menu assigned to a nav menu location.
This ticket was mentioned in Slack in #core by melchoyce. View the logs.
7 years ago
#11
@
7 years ago
- Milestone changed from 4.9 to 4.9.1
I've not been noticing this and I haven't heard it reported. Punting.
Something that I still want to address is the scenario where a user may make a change to a postMessage-transport setting while a full refresh is happening. In that case, we *do* want there to be an initial selective refresh happening.