TypeCellOS / TypeCellOS/BlockNote

Expose dropdown open/close events to allow external scroll locking

Open
#2,407 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug:P3 sponsor
Dominant language
TypeScript
Stars
10.2k
Forks
772
Avg merge
3d 11h
Merged PRs (30d)
17

Description

Currently, it is not possible to track whether an editor dropdown (e.g. suggestion menu, formatting menu) is open from outside the editor.

This makes it difficult to prevent background scrolling, especially in layouts where the editor is placed inside a custom scrollable container rather than relying on document.body.

Expected Behavior

  • A callback or event when an editor dropdown opens or closes
  • Allow consumers to:
    • Disable scrolling on their own scrollable container
    • Re-enable scrolling when the dropdown is closed

This would make dropdown interactions easier and more predictable in complex layouts.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the editor dropdown implementations, including the suggestion and formatting menus, and review how their open and close state is managed. Then examine existing external callbacks or events before defining an API that lets consumers control scrolling in a custom scrollable container. Done means consumers can detect both dropdown transitions and restore scrolling after closure.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.