Closed frw closed 3 years ago
Thanks, seems to fix https://github.com/slorber/react-native-scroll-into-view/issues/41
Have you tested this on both new + old versions of RN?
This looks pretty backwards compatible. I did a quick test on RN 0.64 and it seemed to work as expected.
@slorber merge fix
Hey @slorber,
I've tested this on 0.64, 0.65 and 0.66 and it works on all 3 versions.
@slorber so?
released in 2.0.2
scrollResponderScrollTo
no longer exists on ScrollResponder in RN 0.65.1, leading to aTypeError: undefined is not a function
when callingscrollIntoView
. This commit fixes this issue by callingscrollView.scrollTo
instead whenscrollResponderScrollTo
does not exist.