<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Flickable in SwipeView in Popup cancells overshoot movement on mouse scroll]]></title><description><![CDATA[<p dir="auto">There is some complex structure that I'm trying to implement. I've tried to reproduce in smaller scale, and issue is the same.<br />
When you try to scroll whole page down, it cancels overshoot movement. But, only in first try. After this, it overshoots normally.</p>
<p dir="auto">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</p>
<pre><code>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()
}

</code></pre>
<p dir="auto">Am I doing something wrong?</p>
]]></description><link>https://forum.qt.io/topic/157202/flickable-in-swipeview-in-popup-cancells-overshoot-movement-on-mouse-scroll</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Apr 2026 17:26:44 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/157202.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 Jun 2024 13:47:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Flickable in SwipeView in Popup cancells overshoot movement on mouse scroll on Tue, 11 Jun 2024 14:08:51 GMT]]></title><description><![CDATA[<p dir="auto">Update:<br />
Changing Flickable to ScrollView solved the issue.<br />
But still it's unclear why this behavior happens with Flickable</p>
]]></description><link>https://forum.qt.io/post/802376</link><guid isPermaLink="true">https://forum.qt.io/post/802376</guid><dc:creator><![CDATA[S0ulM1ke]]></dc:creator><pubDate>Tue, 11 Jun 2024 14:08:51 GMT</pubDate></item></channel></rss>