TypeError: undefined is not an object (evaluating 'this.refs[SCROLLVIEW_REF]._component.getScrollResponder')
shivanshrajpoot opened this issue · comments
Env:
RN : 0.63^
Problem:
When trying to use scrollTo function using ref, throws following error
TypeError: undefined is not an object (evaluating 'this.refs[SCROLLVIEW_REF]._component.getScrollResponder')
Reason:
getScrollResponder() { return this.refs[SCROLLVIEW_REF]._component.getScrollResponder() }
Above function uses _component to access the ref which is not there, hence throwing the error.
Fixed in #150, but it looks like the maintainer isn't checking it's pull requests anymore.