@@ -30,8 +30,13 @@ Popover {
30 left: parent.left
30 left: parent.left
31 right: parent.right
31 right: parent.right
33− // Popover doesn't like being 75% or bigger than the screen (counting the "empty" part on top)
34+ // Popover doesn't like being 75% or bigger than the screen (counting the "empty" part on top)
34− height: Math.min(root.parent.height * 3 / 4 - flickable.mapToItem(null, 0, 0).y - 1, column.height);
35+ var posToRootParent = flickable.mapToItem(null, 0, 0).y;
36+ var threeQuartersParent = root.parent.height * 3 / 4 - posToRootParent - 1;
37+ var parentAndKeyboard = root.parent.height - posToRootParent - (Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.height : 0)
38+ return Math.min(parentAndKeyboard, Math.min(threeQuartersParent, column.height));
35 contentHeight: column.height
40 contentHeight: column.height
36 contentWidth: width
41 contentWidth: width