Skip to content

RTC: Saved navigation block changes 'removed' by real time collaboration when reloading #78966

@talldan

Description

@talldan

Description

When reloading an editor, RTC seems to incorrectly sync navigation block state.

Previously saved changes to a navigation menu are removed and the block is reverted to an earlier stale version. When inspecting the network activity, I can see the bug coincides with a call to the wp-sync/v1/updates?_locale=user endpoint. The requests to wp/v2/navigation to GET the navigation menu do return the correct data, but the sync seems 'undo' the data.

This may be hard to reproduce or not, but I seem to encounter it fairly regularly.

Possibly related to #76784

Step-by-step reproduction instructions

  1. Insert a navigation block into a draft post
  2. Make some changes (e.g. add some links to the nav block)
  3. Save changes
  4. Reload the post
  5. Observe the nav block initially shows the correct changes, but then seems to revert back to a stale earlier version

Screenshots, screen recording, code snippet

Video initially shows the incorrect 'stale' menu, after reloading the correct menu state briefly appears, but is then replaced by the 'stale' menu again.

Kapture.2026-06-05.at.12.31.21.mp4

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Labels

[Block] NavigationAffects the Navigation Block[Feature] Real-time CollaborationPhase 3 of the Gutenberg roadmap around real-time collaboration[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions