froala / wysiwyg-editor

The next generation Javascript WYSIWYG HTML Editor.
https://www.froala.com/wysiwyg-editor
Other
5.28k stars 673 forks source link

Changing text color while toolbar is in sticky header mode jumps page scroll to the top #4448

Closed johnnyoshika closed 2 years ago

johnnyoshika commented 2 years ago

If you have a feature suggestion, please add it on the Feature List instead.

Expected behavior.

When I change the text color, I expect the page scroll position to remain the same.

Actual behavior.

Changing text color while toolbar is in sticky header mode jumps page scroll to the top.

Steps to reproduce the problem.

Here's a demo video using the editor here https://froala.com/wysiwyg-editor/

https://user-images.githubusercontent.com/504505/167240108-d6c8940e-63e1-404b-81bd-e6ae75b41b4f.mp4

Editor version.

I assume it's the latest, as it's the one on Froala's website.

OS.

Windows

Browser.

Chrome 101

Recording.

https://user-images.githubusercontent.com/504505/167240108-d6c8940e-63e1-404b-81bd-e6ae75b41b4f.mp4

Umid221 commented 2 years ago

You should use 4.0.11 version. They corrected the issue in this version.

johnnyoshika commented 2 years ago

Thank you