File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ InputEventItem {
229229
230230 MouseArea {
231231 anchors .fill : parent
232- scrollGestureEnabled: false
232+ scrollGestureEnabled: true
233233 enabled: ! folderGridViewPopup .visible
234234 onClicked: {
235235 if (! DebugHelper .avoidHideWindow ) {
@@ -247,13 +247,14 @@ InputEventItem {
247247 } else if (xDelta !== 0 ) {
248248 toPage = (xDelta > 0 ) ? 1 : - 1
249249 }
250- if (toPage < 0 ) {
250+ // Check boundary before triggering page switch to avoid animation jitter
251+ if (toPage < 0 && listviewPage .currentIndex > 0 ) {
251252 flipPageDelay .start ()
252253 if (! searchEdit .focus ) { // reset keyboard focus when using mouse to flip page, but keep searchEdit focus
253254 baseLayer .focus = true
254255 }
255256 decrementPageIndex (listviewPage)
256- } else if (toPage > 0 ) {
257+ } else if (toPage > 0 && listviewPage . currentIndex < listviewPage . count - 1 ) {
257258 flipPageDelay .start ()
258259 if (! searchEdit .focus ) { // reset keyboard focus when using mouse to flip page, but keep searchEdit focus
259260 baseLayer .focus = true
@@ -350,7 +351,7 @@ InputEventItem {
350351 activeFocusOnTab: true
351352 focus: true
352353 visible: searchEdit .text === " "
353- interactive: ! folderGridViewPopup . visible
354+ interactive: false
354355
355356 currentIndex: indicator .currentIndex
356357 function setCurrentIndex (index ) {
You can’t perform that action at this time.
0 commit comments