From 66c5a7a964a19b77e7785909a004e81ea53faec0 Mon Sep 17 00:00:00 2001 From: Black Hat Date: Fri, 7 Sep 2018 07:49:17 +0800 Subject: [PATCH] Disable FAB while scrolling. Fixes #45. --- qml/form/RoomForm.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qml/form/RoomForm.qml b/qml/form/RoomForm.qml index aabc4a3..3f445e5 100644 --- a/qml/form/RoomForm.qml +++ b/qml/form/RoomForm.qml @@ -119,7 +119,7 @@ Item { spacing: 8 boundsBehavior: Flickable.DragOverBounds - maximumFlickVelocity: 2048 + flickDeceleration: 9001 cacheBuffer: 200 @@ -195,7 +195,7 @@ Item { id: goTopFab - visible: !parent.atYEnd + visible: !(parent.atYEnd || messageListView.moving) anchors.right: parent.right anchors.bottom: parent.bottom