appflowy-editor
appflowy-editor copied to clipboard
[Bug] Flutter web Slash command menu Overflows
trafficstars
Bug Description
When i use margin to any parent widget in the widget tree the / command menu goes to out of the screen.
you can see in the below image the slash command menu is out of the screen. sometimes it goes all out.
How to Reproduce
In the example code
- Remove the padding from "example/lib/pages/desktop_editor.dart"
- Add below line in the "example/lib/pages/editor.dart" file container.
margin: const EdgeInsets.symmetric(horizontal: 200),
Expected Behavior
The slash Command Menu should not overflow from screen and should be adjusted in the visible area of the widget.
Operating System
Ubuntu 23.04
AppFlowy Editor Version(s)
1.4.4
Screenshots
Additional Context
Or If i give width to the parent container of the editor then also the position mistmatches
Hi @LucasXu0 I think this issue can be closed