Open
Description
Description
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
<vaadin.version>14.1.17</vaadin.version>
@route(value = "test")
@uiscope
public class Test extends VerticalLayout {
@PostConstruct
public void init() {
setSizeFull();
TextArea a = new TextArea();
add(a);
}
}
Then 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
Browsers Affected
Problem occurs in Firefox and Edge. Chrome seems to work