From 78501b8127145f432dcba41125bf87f7621ee5bf Mon Sep 17 00:00:00 2001 From: Mengci Cai Date: Tue, 17 Mar 2026 17:27:29 +0800 Subject: [PATCH] fix: prevent notification list overscrolling Added boundsBehavior: Flickable.StopAtBounds to the notification list view to prevent overscrolling beyond the content boundaries. This improves the user experience by providing more natural scrolling behavior and preventing the list from bouncing when reaching the edges. Log: Improved notification list scrolling behavior Influence: 1. Test scrolling to the top and bottom of the notification list 2. Verify that list stops at boundaries without overscrolling 3. Check that normal scrolling functionality remains intact 4. Test with various numbers of notifications (empty, few, many) 5. Verify behavior on different screen sizes and resolutions PMS: BUG-324863 --- panels/notification/center/NotifyView.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/panels/notification/center/NotifyView.qml b/panels/notification/center/NotifyView.qml index ce08b1e0c..63b7234c5 100644 --- a/panels/notification/center/NotifyView.qml +++ b/panels/notification/center/NotifyView.qml @@ -61,6 +61,7 @@ Control { snapMode: ListView.SnapToItem keyNavigationEnabled: false activeFocusOnTab: false + boundsBehavior: Flickable.StopAtBounds ScrollBar.vertical: ScrollBar { } topMargin: 20 leftMargin: NotifyStyle.leftMargin