TypeCellOS / TypeCellOS/BlockNote
Expose dropdown open/close events to allow external scroll locking
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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