From 8646daa401d7970f0e45f7eeec0c8645dec2c519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82?= Date: Fri, 26 Aug 2022 18:04:17 +0200 Subject: [PATCH] chore(StatusAppNavBar): List views' bounds behavior refined (#866) - outer list: not draggable - communities list: not draggable when sufficient space, drag and overshot otherwise --- src/StatusQ/Layout/StatusAppNavBar.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/StatusQ/Layout/StatusAppNavBar.qml b/src/StatusQ/Layout/StatusAppNavBar.qml index d1a81d43..caf86433 100644 --- a/src/StatusQ/Layout/StatusAppNavBar.qml +++ b/src/StatusQ/Layout/StatusAppNavBar.qml @@ -133,6 +133,7 @@ Rectangle { anchors.bottom: separatorBottom.top clip: true + boundsBehavior: contentHeight > height ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds spacing: navBarButtonSpacing model: navBarCommunityModel @@ -167,6 +168,7 @@ Rectangle { spacing: navBarButtonSpacing + boundsBehavior: Flickable.StopAtBounds model: navBarModel }