Skip to content

Drafted notes are lost when focus is removed from block #73473

@westonruter

Description

@westonruter

Description

I noticed a couple scenarios where a drafted Note is lost.

Moving focus to another block when a drafted note is not submitted

Screen.Recording.2025-11-20.at.13.14.55.mov

Switching to another window before submitting the Note

Screen.Recording.2025-11-20.at.13.19.48.mov

Step-by-step reproduction instructions

  1. Start drafting a Note on a block, but don't submit it.
  2. Focus on another block.
  3. Focus back on the previous block, and notice the drafted Note is gone.

Additionally:

  1. Start drafting a Note.
  2. Switch to another window (e.g. PhpStorm)
  3. switch back to the browser.
  4. The drafted Note is gone.

Screenshots, screen recording, code snippet

No response

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

Assignees

No one assigned

    Labels

    [Feature] NotesPhase 3 of the Gutenberg roadmap around block commenting[Type] BugAn existing feature does not function as intended

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions