froala / angular-froala-wysiwyg

Angular 4, 5, 6, 7, 8 and 9 plugin for Froala WYSIWYG HTML Rich Text Editor.
https://froala.com/wysiwyg-editor
729 stars 200 forks source link

Replacing an image with a caption takes you to the beginning of the page (unpredictable scrolling) #541

Open PanicaCC opened 4 months ago

PanicaCC commented 4 months ago
Expected behavior.

Should stay at the same scroll position without any bouncing or scrolling

Actual behavior.

Unpredictable scrolling occurs when replacing an image with a caption

Steps to reproduce the problem.
  1. Write long enough content to make the page scroll.
  2. Add a few (2-3 pieces) images at the bottom and to one of the images add a signature.
  3. One by one we make image replacement through the drag and drop field or gallery.
Editor version.

"angular-froala-wysiwyg": "^4.0.14",

OS.

Windows 11 Pro Release Version 22H2 Installation date 11.04.2023 OS build 22621.3155 Interaction Windows Feature Experience Pack 1000.22684.1000.0

Browser.

Version 121.0.6167.185 (Official Build), (64 bit)

Recording.

https://www.veed.io/view/a70b1ad1-d079-440f-b2e6-82bd3f23a127?panel=share or https://www.veed.io/view/a70b1ad1-d079-440f-b2e6-82bd3f23a127?sharingWidget=true&panel=share