From 613c224ecaa7e53247eddeed555f1bf5ae7a3e05 Mon Sep 17 00:00:00 2001 From: Farber Denis Date: Mon, 1 Aug 2022 11:35:23 +0300 Subject: [PATCH] fix(#ott2590): auto scroll direction fix --- src/features/MultiSourcePlayer/hooks/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/MultiSourcePlayer/hooks/index.tsx b/src/features/MultiSourcePlayer/hooks/index.tsx index bb5aeb86..fbad2d56 100644 --- a/src/features/MultiSourcePlayer/hooks/index.tsx +++ b/src/features/MultiSourcePlayer/hooks/index.tsx @@ -229,7 +229,7 @@ export const useMultiSourcePlayer = ({ if (ready && videoRef) { videoRef.current?.scrollIntoView({ behavior: 'smooth', - block: 'end', + block: 'start', }) } }, [ready, videoRef])