Open waynehong opened 7 years ago
@waynehong I am also getting this issue. did you find any solution?
@vivekparekh8 yes,you need to check whether this.refs['innerListView'] exist or not, at node_modules -> @Idn0x7dc -> react-native-view-pager -> library -> ViewPager.js .line 61.
if(!this.refs['innerListView']){ }else{ this.refs['innerListView'].scrollTo({x: curX, animated: false}); }
安卓下这个插件加在modal时,在滚动未完成,按返回或其他操作卸载modal,应用闪退!
undefined is not an object(evaluating 'this.refs['innerListView'].scrollTo')