react-virtualized icon indicating copy to clipboard operation
react-virtualized copied to clipboard

ScrollSync programmatically seems to sync breaks up

Open Mirza-Hassan opened this issue 4 years ago • 1 comments

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]);
Screenshot 2021-10-29 at 4 48 07 PM

Mirza-Hassan avatar Oct 29 '21 11:10 Mirza-Hassan

Any update on this issue ?

bogdanblunt avatar Sep 04 '23 09:09 bogdanblunt