Repository navigation
fix(react): flip the suggestion menu above earlier - #3198
Conversation
…room for fewer than five items below
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
@blocknote/ariakit
@blocknote/code-block
@blocknote/core
@blocknote/diagram-block
@blocknote/mantine
@blocknote/math-block
@blocknote/react
@blocknote/server-util
@blocknote/shadcn
@blocknote/xl-ai
@blocknote/xl-docx-exporter
@blocknote/xl-email-exporter
@blocknote/xl-multi-column
@blocknote/xl-odt-exporter
@blocknote/xl-pdf-exporter
@blocknote/xl-typst-exporter
commit: |
|
The suggestion menu now goes above its trigger when there is less than 300px of room below (about five items), instead of 200px. With 200px, a menu just above that threshold stayed below and showed only three or four items, even with plenty of room above. A new placement test covers this case.
Summary by CodeRabbit