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

why editor will scroll to top when setting the textColor?

Open Pasoul opened this issue 2 years ago • 2 comments

Expected behavior.

We hope the editor will not scroll to top, when setting the textColor.

Actual behavior.

when setting the textColor, the editor will scroll to top.

Steps to reproduce the problem.
  1. scroll the editor to bottom
  2. Start editing, then set textColor from the toolbar
  3. the editor will scroll to top

demo

Editor version.

4.0.10

OS.

macOS Monterey 12.2.1

Browser.

Chrome/85.0.4183.102

Recording.

https://user-images.githubusercontent.com/22902187/159675071-1aa3b66b-60e5-4bd3-8ac8-187632710ad4.mp4

Pasoul avatar Mar 23 '22 10:03 Pasoul

And I find that it is a problem with versions >= 4.0.8

Pasoul avatar Mar 23 '22 11:03 Pasoul

We have the same issue. We are on version 4.0.10. If anyone has a workaround until it can be fixed, please let us know. Thanks!

Looks like a duplicate of #4398

jeffgammon avatar Apr 14 '22 20:04 jeffgammon