fix clunky scrolling behavior on flickables

This commit is contained in:
thotbot 2019-12-16 20:52:50 +00:00
parent 46227bdad0
commit 94561ed2a6
4 changed files with 4 additions and 0 deletions

View file

@ -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 {

View file

@ -186,6 +186,7 @@ Rectangle {
Layout.fillWidth: true
Layout.fillHeight: true
clip: true
boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds
ScrollBar.vertical: ScrollBar {
parent: root

View file

@ -125,6 +125,7 @@ Rectangle {
id: flickable
anchors.fill: parent
ScrollBar.vertical: ScrollBar { }
boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds
TextArea.flickable: TextArea {
id: dialogContent

View file

@ -267,6 +267,7 @@ Rectangle {
id: wizardFlickable
anchors.fill: parent
clip: true
boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds
ScrollBar.vertical: ScrollBar {
parent: wizardController