The signal QInputMethod::animatingChanged is never emitted on the Jolla.
This is bad, because sometimes you want to do something after the virtual keyboard pops up (example: scroll to the bottom of the screen, etc.), but without this signal you can't. Note that onFocusChanged of the TextField component is emitted before the virtual keyboard shows up.
I tried it in two ways:
Connections {
target: Qt.inputMethod
onAnimatingChanged: {
console.log("animating changed");
if (addChannelField.focus) {
console.log("focused");
setChannelsView.scrollToBottom();
}
}
}
and
Qt.inputMethod.animatingChanged.connect(function() {
console.log("animating changed");
});
Neither of them work.
| 2 | No.2 Revision |
The signal QInputMethod::animatingChanged is never emitted on the Jolla.
This is bad, because sometimes you want to do something after the virtual keyboard pops up (example: scroll to the bottom of the screen, etc.), but without this signal you can't. Note that onFocusChanged of the TextField component is emitted before the virtual keyboard shows up.
I tried it in two ways:
Connections {
target: Qt.inputMethod
onAnimatingChanged: {
console.log("animating changed");
if (addChannelField.focus) {
console.log("focused");
setChannelsView.scrollToBottom();
}
}
}
and
Qt.inputMethod.animatingChanged.connect(function() {
console.log("animating changed");
});
Neither of them work.
| 3 | No.3 Revision |
The signal QInputMethod::animatingChanged is never emitted on the Jolla.
This is bad, because sometimes you want to do something after the virtual keyboard pops up (example: scroll to the bottom of the screen, etc.), but without this signal you can't. Note that onFocusChanged of the TextField component is emitted before the virtual keyboard shows up.
I tried it in two ways:
Connections {
target: Qt.inputMethod
onAnimatingChanged: {
console.log("animating changed");
}
}
and
Component.onCompleted: {
Qt.inputMethod.animatingChanged.connect(function() {
console.log("animating changed");
});
}
Neither of them work.