Hey, great library! I've started to use it in our app forms it worked well until I decided to lift somethings from our forms up to where the scroll view gets rendered and started to get this:
(NOBRIDGE) ERROR Warning: TypeError: Cannot read property 'getNode' of null
This error is located at:
in ContainerBase
in Unknown
From what I investigated this is mainly caused by https://github.com/slorber/react-native-scroll-into-view/blob/master/src/hoc.tsx#L52 receiving a null value from react
This all would make some sense IF I were to be unmounting the scroll view, but thats not the case, I've added a componentWillUnmount locally here to that HOC and the component doesn't get unmounted
I've tried changing my current view (KeyboardAwareScrollView from react-native-keyboard-controller) to just a RN ScrollView and I still get the same results
I'll see if I can investigate further and register my findings here
Hey, great library! I've started to use it in our app forms it worked well until I decided to lift somethings from our forms up to where the scroll view gets rendered and started to get this:
From what I investigated this is mainly caused by https://github.com/slorber/react-native-scroll-into-view/blob/master/src/hoc.tsx#L52 receiving a
nullvalue from reactThis all would make some sense IF I were to be unmounting the scroll view, but thats not the case, I've added a
componentWillUnmountlocally here to that HOC and the component doesn't get unmountedI've tried changing my current view (
KeyboardAwareScrollViewfromreact-native-keyboard-controller) to just a RNScrollViewand I still get the same resultsI'll see if I can investigate further and register my findings here