From 94561ed2a631b7211e99b29840f11919443b7455 Mon Sep 17 00:00:00 2001 From: thotbot Date: Mon, 16 Dec 2019 20:52:50 +0000 Subject: [PATCH] fix clunky scrolling behavior on flickables --- LeftPanel.qml | 1 + MiddlePanel.qml | 1 + components/StandardDialog.qml | 1 + wizard/WizardController.qml | 1 + 4 files changed, 4 insertions(+) diff --git a/LeftPanel.qml b/LeftPanel.qml index 959f5189..f59c0fe2 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -350,6 +350,7 @@ Rectangle { anchors.top: parent.top anchors.bottom: networkStatus.top width: parent.width + boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds clip: true Column { diff --git a/MiddlePanel.qml b/MiddlePanel.qml index 44e0acdf..fd3406d2 100644 --- a/MiddlePanel.qml +++ b/MiddlePanel.qml @@ -186,6 +186,7 @@ Rectangle { Layout.fillWidth: true Layout.fillHeight: true clip: true + boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds ScrollBar.vertical: ScrollBar { parent: root diff --git a/components/StandardDialog.qml b/components/StandardDialog.qml index cf6ed30e..2db02abb 100644 --- a/components/StandardDialog.qml +++ b/components/StandardDialog.qml @@ -125,6 +125,7 @@ Rectangle { id: flickable anchors.fill: parent ScrollBar.vertical: ScrollBar { } + boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds TextArea.flickable: TextArea { id: dialogContent diff --git a/wizard/WizardController.qml b/wizard/WizardController.qml index 235d0f1f..03f479d9 100644 --- a/wizard/WizardController.qml +++ b/wizard/WizardController.qml @@ -267,6 +267,7 @@ Rectangle { id: wizardFlickable anchors.fill: parent clip: true + boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds ScrollBar.vertical: ScrollBar { parent: wizardController