react-native-picker-scrollview
react-native-picker-scrollview copied to clipboard
this.sview is null during component unmounting.
while un-mounting the component ScrollPicker. the function scrollToIndex is called when this.sview is not set.
causing an error.
Seeing this too. In the meantime I've patched it with patch-package and added optional chaining in the two places that ref is accessed.
this.sview?.scrollTo()