Open j-erasmus opened 4 years ago
On mobile (Android Firefox) when typing in the WYSIWYG editor it jumps to the top of the editor (See video).
The scroll position is adjusted when the editor gains focus.
Steps to reproduce the behavior:
When typing in the WYSIWYG editor, the cursor should keep its position and the cursor position should not scroll out of view.
Link for replicating the bug: https://ndu68.csb.app/
No further investigation has been done but I have a hunch that this bug might be caused bu the way ToastUI determines the cursorHeight and editorHeight in the scrollIntoCursor() function when the keyboard is open.
cursorHeight
editorHeight
scrollIntoCursor()
Yes! In android, the editor jump to top. While in IOS, the editor fail to show the cursor. Do you have any measure to solve it?
Describe the bug
On mobile (Android Firefox) when typing in the WYSIWYG editor it jumps to the top of the editor (See video).
The scroll position is adjusted when the editor gains focus.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When typing in the WYSIWYG editor, the cursor should keep its position and the cursor position should not scroll out of view.
Preview
Smartphone (please complete the following information):
Additional context
Link for replicating the bug: https://ndu68.csb.app/
No further investigation has been done but I have a hunch that this bug might be caused bu the way ToastUI determines the
cursorHeight
andeditorHeight
in thescrollIntoCursor()
function when the keyboard is open.