diff --git a/renderer/src/components/EditorPage/ObsEditor/ReferenceObs.js b/renderer/src/components/EditorPage/ObsEditor/ReferenceObs.js index 1b87be80..18cd75c8 100644 --- a/renderer/src/components/EditorPage/ObsEditor/ReferenceObs.js +++ b/renderer/src/components/EditorPage/ObsEditor/ReferenceObs.js @@ -52,7 +52,7 @@ const { t } = useTranslation(); if (stories && selectedStory !== undefined) { const currentRef = itemEls.current.filter((obj) => obj.id === selectedStory)[0]?.el; if (currentRef) { - currentRef.scrollIntoView({ behavior: 'smooth', block: 'end', inline: 'nearest' }); + currentRef.scrollIntoView({ block: 'center', inline: 'nearest' }); } } }, [selectedStory, stories]);