Attila217

Results 1 comments of Attila217

i use this trick: const ref = useRef(); const someRef = useRef({ scrollLeft: 0, scrollTop: 0, }); const handleOnScrollFrame = useCallback(event => { if (disabled) { ref.current.scrollLeft(someRef.current.scrollLeft); ref.current.scrollTop(someRef.current.scrollTop); } else...