froala/wysiwyg-editor

Wrong edit link/image popup positioning with sticky toolbar in a scrollable container

Opened this issue · 0 comments

Expected behavior.

Edit popups are correctly positioned when using the editor with sticky toolbar in a scrollable container.

Actual behavior.

Edit popups are incorrectly positioned - outside currently visible viewport.

Steps to reproduce the problem.

Test here: jsFiddle, you can also try inserting an image - the image edit popup is also incorrectly positioned. The sticky positioning of the toolbar works, scrollableContainer option must be set but the popup positioning is broken in this configuration.

Editor version.

4.2.0

OS.

Windows 10 22H2

Browser.

Microsoft Edge 125.0.2535.51 (Official build) (64-bit)

Recording.

froala-sticky-toolbar-popup