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}> : }