When I delete text in a TextArea the scrollbar jumps

Paste a longer text into the text area so that the browser shows a scrollbar and is not at the top position. Now delete some text in the textarea and the browser scrollbar jumps up and the user has lost the current editing position

Steps to reproduce


@route(value = "test")
public class Test extends VerticalLayout {
public void init() {
TextArea a = new TextArea();

Problem occurs in Firefox and Edge. Chrome seems to work

Is there a workaround for this? Am I using it incorrectly?

Thanks for reporting. Let’s continue discussing this in your issue https://github.com/vaadin/vaadin-text-field/issues/455