Skip to content

Initial doc creation menu + not working #2759

Description

@AntoLC

What’s broken?

When we create a totally new doc, we have the id "initialBlockId", it seems to have a problem with it, the menu flickers, it opens and closes instantly (not obvious on the video because it is too fast).
As soon as we add some content, it works as expected.

Enregistrement.2026-05-19.160630-buginitil-id.mp4

What did you expect to happen?

I expect to have the menu to open normally.

Steps to reproduce

@YousefED I remember we got this issue a few month ago, it got solved then came back. I don't find the issue anymore though.

BlockNote version

No response

Environment

No response

Additional context

No response

Contribution

  • I'd be interested in contributing a fix for this issue

Sponsor

  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Activity

  1. added
    needs-triageIssue has not yet been reviewed or classified by maintainers.
    on May 19, 2026
  2. YousefED commented on May 20, 2026

    @YousefED
    Collaborator

    You're right this came up earlier but was not prioritized / fixed yet, we can do so now!

    related: #2338

  3. added
    bug:P2High: Core functionality significantly impacted.
    and removed
    needs-triageIssue has not yet been reviewed or classified by maintainers.
    on May 20, 2026
  4. nperez0111 commented on May 20, 2026

    @nperez0111
    Contributor

    I have a fix for this as part of #2741 which will land before the other y-prosemirror changes. I put it there since I had to restructure the position mapping in that PR again. If it is a priority, I can back-port the fix

  5. YousefED commented on May 21, 2026

    @YousefED
    Collaborator

    @nperez0111 if it's not a lot of work, let's backport indeed? Unles you plan to land #2741 next week anyway. Looking at the commits, I think you were able to cover this with testing as well, right?

  6. nperez0111 commented on May 22, 2026

    @nperez0111
    Contributor

    I would try to land #2741 next week. I really don't want to keep that refactor open for long & keep having to rebase it when things change on main

    Yep, the additional testing revealed an additional bug with the same logic.

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

Metadata

Metadata

Assignees

Labels

bug:P2High: Core functionality significantly impacted.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions