appflowy-editor icon indicating copy to clipboard operation
appflowy-editor copied to clipboard

[Bug] Flutter web Slash command menu Overflows

Open dawarepramod4 opened this issue 2 years ago • 2 comments
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. image

How to Reproduce

In the example code

  1. Remove the padding from "example/lib/pages/desktop_editor.dart"

Screenshot from 2023-10-20 21-36-11

  1. Add below line in the "example/lib/pages/editor.dart" file container. margin: const EdgeInsets.symmetric(horizontal: 200), image

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

dawarepramod4 avatar Oct 20 '23 16:10 dawarepramod4

Or If i give width to the parent container of the editor then also the position mistmatches

dawarepramod4 avatar Oct 20 '23 19:10 dawarepramod4

Hi @LucasXu0 I think this issue can be closed

stevenosse avatar May 12 '24 21:05 stevenosse