From 386bae64ca77eaa509ff5afbd962314a316132ca Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sun, 26 Feb 2023 15:46:17 -0800 Subject: [PATCH] scroll coordinate space --- damus/Views/Notifications/NotificationsView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/damus/Views/Notifications/NotificationsView.swift b/damus/Views/Notifications/NotificationsView.swift index 6d0c03db..16c561c1 100644 --- a/damus/Views/Notifications/NotificationsView.swift +++ b/damus/Views/Notifications/NotificationsView.swift @@ -30,6 +30,7 @@ struct NotificationsView: View { }) .padding(.horizontal) } + .coordinateSpace(name: "scroll") .onReceive(handle_notify(.scroll_to_top)) { notif in let _ = notifications.flush() self.notifications.should_queue = false