Open Mirza-Hassan opened 2 years ago
Hi,
I am facing an issue in ScrollSync doesn't seem to sync correctly. When scrolling programmatically due to an outside event the sync breaks up. How can you fix this? any help is appreciated. Thanks !
useEffect(() => { scrollRef.current = scrollRef.current.slice(0, visits.length); scrollRef?.current[visits.length - 1]?.scrollIntoView({ block: 'nearest', inline: 'nearest' }); }, [visits]);
Any update on this issue ?
Hi,
I am facing an issue in ScrollSync doesn't seem to sync correctly. When scrolling programmatically due to an outside event the sync breaks up. How can you fix this? any help is appreciated. Thanks !