react-native-scrollable-tab-view icon indicating copy to clipboard operation
react-native-scrollable-tab-view copied to clipboard

Error "this.scrollView.scrollTo is not a function" after commit with getNode() removed

Open zmnv opened this issue 5 years ago • 7 comments
trafficstars

  • [x] I have searched existing issues
  • [X] I am using the github version via:
"react-native": "0.61.5",
"react-native-scrollable-tab-view": "git+https://github.com/ptomasroos/react-native-scrollable-tab-view.git",

Steps to Reproduce

Nothing changed in my component with scrollable tab. But after last time I did pull it happens. I talk about #1090 commit.

Expected Behavior

All right.

Actual Behavior

Application crashes with

this.scrollView.scrollTo is not a function. (In 'this.scrollView.scrollTo({x:n,y:0,animated:!this.props.scrollWithoutAnimation})', 'this.scrollView.scrollTo' is undefined)

zmnv avatar May 28 '20 14:05 zmnv

I use a git version because last release was IN 2019. 1.0.0 has fatal error because of RNViewPager...

zmnv avatar May 28 '20 14:05 zmnv

Could you try upgrading your react native version to the latest?

ejdigby avatar May 28 '20 17:05 ejdigby

No. It's not a solution. I can do that only in future. :(

If you/they wouldn't support RN versions < 0.62 you can close the issue, but please, add attention about it in README.MD. I just forked that awesome module as a temporary solution )

zmnv avatar May 28 '20 17:05 zmnv

Could you try upgrading your react native version to the latest?

so we MUST (force to) using RN 0.62 to using this?????? i think it was bad implementation. because many people using Expo, and latest Expo SDK it is 0.61.4 (mine now).

Im happy used your library, but this made me cannot used that anymore

brambang avatar Jun 04 '20 09:06 brambang

#1085

deot avatar Jun 20 '20 20:06 deot

@brambang have you found any solution ? i am also using expo

usamaehsan avatar Aug 13 '20 13:08 usamaehsan

@brambang have you found any solution ? i am also using expo

you can found my solution here sorry for late reply

brambang avatar Oct 25 '21 08:10 brambang