I believe this is the way QQuickTextInput is implemented.
What happens here is that when the cursor reaches beginning/end of the text content, it ignores the following left/right key event. That means the key event propagates to the parent. The scope receives that event and handles it, thus changing the selected item in the view.
I think there are many ways to handle this, one being that the SDK component may stop the event from propagating when the text field is focused.
I believe this is the way QQuickTextInput is implemented.
What happens here is that when the cursor reaches beginning/end of the text content, it ignores the following left/right key event. That means the key event propagates to the parent. The scope receives that event and handles it, thus changing the selected item in the view.
I think there are many ways to handle this, one being that the SDK component may stop the event from propagating when the text field is focused.
PS: this is probably related. https:/ /bugs.launchpad .net/ubuntu/ +source/ unity8/ +bug/1541967