Fix OSK size not always being correct with GBoard
This commit is contained in:
parent
2eb3cfad70
commit
f7763746b2
@ -35,7 +35,7 @@ Item {
|
||||
id: root
|
||||
implicitHeight: d.active
|
||||
? d.kbd.height
|
||||
: (Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.height / Screen.devicePixelRatio : 0)
|
||||
: (Qt.inputMethod.visible ? Math.max(0, Qt.inputMethod.keyboardRectangle.height / Screen.devicePixelRatio) : 0)
|
||||
|
||||
|
||||
Behavior on implicitHeight { NumberAnimation { duration: 130; easing.type: Easing.InOutQuad } }
|
||||
|
||||
Reference in New Issue
Block a user