We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1cc1ec commit 36513bdCopy full SHA for 36513bd
src/timeline/useTimelineOffset.ts
@@ -13,6 +13,8 @@ export default (props: UseTimelineOffsetProps) => {
13
const inMomentum = useRef(false);
14
15
useEffect(() => {
16
+ // NOTE: The main reason for this feature is to sync the offset
17
+ // between all of the timelines in the TimelineList component
18
if (scrollOffset !== undefined) {
19
scrollViewRef?.current?.scrollTo({
20
y: scrollOffset,
0 commit comments