@@ -115,12 +115,7 @@ Item {
115115 left: parent.left
116116 right: parent.right
117117 }
118− property int maxHeight: -1
119− Component.onCompleted: updateMaxHeight();
120− function updateMaxHeight()
121− {
122− maxHeight = root.availableHeight - mapToItem(root, 0, 0).y;
123− }
118+ readonly property int maxHeight: root.availableHeight - navigationListView.y
124119 property int prevHeight: maxHeight
125120 height: currentItem ? currentItem.height : maxHeight
126121
@@ -137,7 +132,6 @@ Item {
137132 property real desiredHeight: {
138133 if (navigation && navigation.loaded && x == navigationListView.contentX)
139134 {
140− navigationListView.updateMaxHeight();
141135 return Math.min(implicitHeight, navigationListView.maxHeight);
142136 } else {
143137 return navigationListView.prevHeight;