react-virtualized
react-virtualized copied to clipboard
ScrollSync programmatically seems to sync breaks up
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 ?