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
AIMenuController does not use @floating-ui/react for positioning. As a result, the menu does not automatically flip or adjust when near the bottom edge of the viewport, unlike other controllers. This can cause the menu to get cut off or appear too close to the edge, leading to a poor user experience.
Proposed Solution
Integrate @floating-ui/react in AIMenuController so the menu automatically adjusts its position based on viewport boundaries, matching the behavior of other controllers.
Workarounds Considered
Manually adjusting menu position via custom CSS or inline styles, which is inconsistent across different screen sizes and viewport changes.
Additional Context
The issue is most noticeable on smaller windows or when the menu is triggered near the bottom of the screen, causing partial visibility or overlap.
changed the title [-]AIMenuController in @blocknote/xl-ai is missing @floating-ui/react implementation causing menu positioning issues[/-][+]AIMenuController missing @floating-ui/react positioning[/+]on Dec 9, 2025
Activity
[-]AIMenuController in @blocknote/xl-ai is missing @floating-ui/react implementation causing menu positioning issues[/-][+]AIMenuController missing @floating-ui/react positioning[/+]nperez0111 commentedon Dec 9, 2025
Thanks for pointing this out @VihangaN, it looks like we have the flip middleware commented out. I'll get this resolved
fix(ai): re-enable flipping the AIMenu when there is not enough space #…
VihangaN commentedon Jan 19, 2026
Thanks for fixing this @nperez0111 🙌
When do you think this can go to a production release ? We’re currently having this issue on our web app as well.
fix(ai): re-enable flipping the AIMenu when there is not enough space #…