Flickable in SwipeView in Popup cancells overshoot movement on mouse scroll
-
There is some complex structure that I'm trying to implement. I've tried to reproduce in smaller scale, and issue is the same.
When you try to scroll whole page down, it cancels overshoot movement. But, only in first try. After this, it overshoots normally.At this this reproduction you need to scroll hard to see that movement cancels. In my app this happens constantly, no matter how big page is
import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Window 2.15 Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Popup { id: pop anchors.centerIn: parent width: parent.width height: parent.height SwipeView { anchors.fill: parent Repeater { model: 6 Loader { active: SwipeView.isCurrentItem || SwipeView.isNextItem || SwipeView.isPreviousItem sourceComponent: Flickable { id: flick contentHeight: rec.height Rectangle { id: rec width: parent.width height: 600 color: index % 2 ? "#00ff00" : "#ff4500" } ScrollBar.vertical: ScrollBar {} } } } } } Component.onCompleted: pop.open() }Am I doing something wrong?