fix scroll mode

This commit is contained in:
Josh Hawkins 2024-03-03 12:38:08 -06:00
parent 93b6d11292
commit 77b8dcfdef

View File

@ -82,8 +82,8 @@ function useDraggableHandler({
...(segmentDuration < 60 && { second: "2-digit" }), ...(segmentDuration < 60 && { second: "2-digit" }),
}); });
scrollIntoView(thumb, { scrollIntoView(thumb, {
scrollMode: "if-needed",
behavior: "smooth", behavior: "smooth",
block: "center",
}); });
} }
}); });