Vaadin 14 setCursorPosition in TextField

Hello,

I found an old Vaadin 8 script where we could set the cursor position in a textfield manually. I was wondering if that functionality still exists under a new name in Vaadin 14?

final TextField textfield = new TextField();
textfield.setValue("my string something something");
textfield.setCursorPosition(10);

It’s a missing feature. Here’s a ticket; the discussion also contains a workaround: https://github.com/vaadin/vaadin-text-field-flow/issues/65