You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FormattingToolbar is clipped when editor height is small #2558
When the editor container is set to a small height, the FormattingToolbar (shown when text is selected) gets trapped within the editor's bounding area and is cut off — part of the toolbar is not visible to the user.
What did you expect to happen?
The FormattingToolbar should render as a floating overlay that escapes the editor's bounding box and remains fully visible, regardless of the editor's height.
Steps to reproduce
Set the editor container to a small height (e.g. ~100px)
Click inside the editor and type some text
Select the text to trigger the FormattingToolbar
Observe that the toolbar is clipped and partially hidden within the editor boundary
Optional: Reproducible on the official minimal demo without any code changes: https://www.blocknotejs.org/examples/basic/minimal
→ Open browser DevTools → select the editor element → reduce its height → select text
Activity
YousefED commentedon Mar 16, 2026
Thanks, we'll look into a better solution for this