Delay in plugin button rendering when movableBlocks prop is active
mogavin opened this issue · comments
mogavin commented
Expected Behavior
In the initial rendering of the editor with prop movableBlocks
active, when clicking inside a different block from the first one, the plugins button should be moved to this block.
Current Behavior
On the first click in a different block than the first the plugins button not move. The movement occurs only after the second click.
Steps to Reproduce
- Render a
MegadraftEditor
component with propmovableBlocks
withtrue
value; - Insert some blocks (text, image, video);
- Click on any block other than the first. Plugins button will not be moved to this block;
- Click on the same block again. Now the plugins button will be moved to this block.