Wysiwyg-editor: Editor scrolls to bottom on enter/backspace

Created on 24 Sep 2019  路  13Comments  路  Source: froala/wysiwyg-editor

Expected behavior.

The editor should scroll to keep the cursor visible.

Actual behavior.

The editor scrolls to the bottom regardless of the cursor position.

Steps to reproduce the problem.

Hit enter or backspace inside the first paragraph.
https://jsfiddle.net/340y5rjs/1/

Editor version.

v3.0.5

OS.

Windows

Browser.

Chrome

bug version 3

All 13 comments

Could this be prioritized please ?
It makes the editor completely useless right now.

Thank you.

same problem too :<

Still buggy in v3.1.0

Same problem in v3.1.0, but can't simulate it on jsfiddle. Looks like it is hapening only when the content is loaded from DB.

It's been five months and this critical bug is still not fixed. How is this possible for a commercial product ? I feel like I paid for something I can't use.

@vpekarek It is reproducible in jsfiddle, I've posted a link in my first post. Nothing to do with a database.

Can somebody from Froala say a date when it will be fixed? Our clients are not happy about that. We are not happy about that.
It is like we bought a car witch jumps back every time we want to accelerate.

This problem is actual on v3.2.2

Testing on Firefox and Google Chrome

Steps to reproduce this bug

  • Enter so much lines of text that the visible area of the editor is larger than the window height
  • Press 'Enter' button in editor area :)

Problem code was found in enter event listener (froala_editor.js)
In minified file it like looks as u.$oel[0].offsetHeight > u.o_win.innerHeight && u.o_win.scroll(0, u.$oel[0].scrollHeight)

This is also happening to be, can't wait for it to be fixed. I want the editor to grow as you type, no scrolling. For now I'm going to have to set a height - but what makes everything so difficult, is that a fixed height (or even using calc on vh) doesn't work so well from a responsive perspective, because it doesn't behave against it's container. This particular issue really needs fixed.

Any update on that? Still no feedback here. It's still broken and a really annoying issue.

They obviously don't care.
We got tricked into renewing the license, but that was the last time.
We already switched to another editor with great success and the complaints from our clients dropped.

@SquareBeard Can I ask you to what editor you switched for? Thinking about the same.

I asked the support about this and they said it's done in the next sustaining cycle (released planned in the next few months).

@SquareBeard Can I ask you to what editor you switched for? Thinking about the same.

@SquareBeard I'd like to know the editor you switched for as well....

Was this page helpful?
0 / 5 - 0 ratings

Related issues

horatiua picture horatiua  路  4Comments

Nucs picture Nucs  路  4Comments

rogersteblerbsi picture rogersteblerbsi  路  3Comments

lohiaad picture lohiaad  路  4Comments

isubasti picture isubasti  路  4Comments