Skip to content

Wait for rendered frames before completing rendering - #3085

Open
ayushspn123 wants to merge 1 commit into
codex-team:nextfrom
ayushspn123:next
Open

ayushspn123 wants to merge 1 commit into
codex-team:nextfrom
ayushspn123:next

Conversation

@ayushspn123

Copy link
Copy Markdown

Summary

  • Wait for two animation frames after inserting blocks before resolving the renderer, so the new document has a chance to render before the modifications observer is re-enabled.
  • Add a regression test that verifies blocks.render() remains pending until both frames complete.

Fixes #2867

Validation: yarn build:test and focused ESLint passed. Cypress could not run in this environment because Xvfb is unavailable.

Wait for browser frames to render inserted blocks before resolving the renderer. Add a regression test for the render completion timing.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ayushspn123
ayushspn123 requested a review from neSpecc as a code owner December 4, 2026 17:00

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mutation observer for "onChange" event is re-enabled to early when loading large document

1 participant