feat: autofocus on the textArea when the reply / edit is triggered

automatically focus on the textArea when reply, edit is pressed. Also
move the cursor to the end of the text content, for example, when the edit button
is pressed
This commit is contained in:
Srevin Saju
2021-04-07 19:40:23 +03:00
parent 25a8a8b011
commit 66545dbc31
4 changed files with 18 additions and 2 deletions

View File

@@ -100,6 +100,9 @@ Item {
easing.type: Easing.OutCubic
}
}
onReplyCancelled: {
root.focusInputField()
}
}
Kirigami.Separator {