TextField position of caret

I am struggling with setting the caret in a textfield to the last position. Last position means: Behind all written input text.

This did work in Vaadin 7. After upgrading to Vaadin 8 it doesn’t work anymore.

Sample:

final TextField textfield = new TextField();
textfield.setValue("Some input");
textfield.setCursorPosition(textfield.getValue().length());

Expected: Caret position behind the character ‘t’.
Current: Caret position behind the character ‘u’.

I did open an issue on github, however, that was 20 days ago, has no response and seems to get lost by now. I wonder why noone has this problem other than me? Am i missing something?

Link to github issue: https://github.com/vaadin/framework/issues/9157