-
-
Notifications
You must be signed in to change notification settings - Fork 735
FormattingToolbar is clipped when editor height is small #2558
Copy link
Copy link
Closed
Labels
bug:P2High: Core functionality significantly impacted.High: Core functionality significantly impacted.sponsorReported by or on behalf of a sponsor or paying customer and eligible for prioritized attention.Reported by or on behalf of a sponsor or paying customer and eligible for prioritized attention.
Metadata
Metadata
Assignees
Labels
bug:P2High: Core functionality significantly impacted.High: Core functionality significantly impacted.sponsorReported by or on behalf of a sponsor or paying customer and eligible for prioritized attention.Reported by or on behalf of a sponsor or paying customer and eligible for prioritized attention.
Type
Fields
Give feedbackNo fields configured for issues without a type.
What’s broken?
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
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
BlockNote version
0.47.1
Environment
No response
Additional context
This appears to be the same root cause as the slash menu clipping issue
Contribution
Sponsor