diff --git a/renderer/components/timelines/Notifications.tsx b/renderer/components/timelines/Notifications.tsx
index 21c94b2d..2193091b 100644
--- a/renderer/components/timelines/Notifications.tsx
+++ b/renderer/components/timelines/Notifications.tsx
@@ -173,11 +173,18 @@ export default function Notifications(props: Props) {
return 'timeline'
}
+ const backToTop = () => {
+ scrollerRef.current.scrollTo({
+ top: 0,
+ behavior: 'smooth'
+ })
+ }
+
return (
-
+
backToTop()}>
diff --git a/renderer/components/timelines/Timeline.tsx b/renderer/components/timelines/Timeline.tsx
index 3f3d31f5..676a3b94 100644
--- a/renderer/components/timelines/Timeline.tsx
+++ b/renderer/components/timelines/Timeline.tsx
@@ -204,11 +204,18 @@ export default function Timeline(props: Props) {
return 'timeline'
}
+ const backToTop = () => {
+ scrollerRef.current.scrollTo({
+ top: 0,
+ behavior: 'smooth'
+ })
+ }
+
return (
-
+
backToTop()}>
{props.timeline.match(/list_(\d+)/) ? <>{list && list.title}> : }