Skip to content

[Android] Popover instantly closes after opening in shadcn version of BlockNote (also occurs in official example) #2146

@piro0919

Description

@piro0919

Describe the bug
On Android devices, the popover in the shadcn version of BlockNote immediately closes right after opening.
It flashes for a moment and disappears instantly, making it impossible to interact with.
This does not happen on desktop browsers (Chrome/Safari) or iOS.

It seems related to Android’s touch or focus handling — possibly the Popover loses focus right after opening.

To Reproduce

  1. Open a BlockNote editor using the shadcn/ui integration.
  2. On an Android device (Chrome), tap any button or trigger that opens a Popover (e.g., link insert menu or toolbar).
  3. Observe that the Popover opens for less than a frame and instantly disappears.

Misc
It also occurs in the official sample.
https://www.blocknotejs.org/docs/getting-started/shadcn

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions