You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.
Well there is a problem regarding the expected behaviour. The focus is being stolen by the item list after every change on the list. After adding a new task I'm forcing in a very bad hack the focus to the text field again.
But if a user only wants to delete a task the focus shouldn't always being forced back to the text field. Afterwards the keyboard will be opened and only half of the tasks would be visible. This could get quite annoying I think.
I'm really new to Qt and QML, but wouldn't it be possible to look whether the input field had focus before and only forcing it back if that was the case?
It would maybe possible if you catch every onFocusChanged event (I assume there is such an event for each item) and run a global function which saves the last focused object in a global variable or something like that.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How to reproduce:
Expected behaviour: focus should stay where it is - in the input field
Actual behaviour: input field looses focus
The text was updated successfully, but these errors were encountered: