froala / wysiwyg-editor

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

Autoscroll when pressing enter in a fixed container #3038

Open Mboulianne opened 6 years ago

Mboulianne commented 6 years ago
Expected behavior.

Autoscroll should always work when typing, the cursor should always stay in view.

Actual behavior.

When in a fixed container and when spamming enter, the editor won't autoscroll at the cursor position. However, if I press a letter key, everything works as expected

Steps to reproduce the problem.

https://jsfiddle.net/184f7zpd/147/

Here I'm not in a fixed container. No matter what I press, the cursor always stay in view. image

Now in a fixed container, after spamming enter image

In a fixed container, after pressing any letter image

Auto scroll occured.

OS.

Windows 10

Browser.

Chrome, might be all of them

ranaabeerahmed commented 4 days ago

Hi, Can we please fix this bug? It's annoying when you are typing notes and once you reach a certain number of lines of text, the text box doesn't auto-scroll when using enter.