APSL / react-native-keyboard-aware-scroll-view

A ScrollView component that handles keyboard appearance and automatically scrolls to focused TextInput.
MIT License
5.27k stars 646 forks source link

TypeError: responder.scrollResponderScrollTo is not a function. #519

Open aamiryameen opened 2 years ago

aamiryameen commented 2 years ago

Hi, I'm getting this error while run on ios (React Native)

TypeError: responder.scrollResponderScrollTo is not a function. (In 'responder.scrollResponderScrollTo({ x: x, y: y, animated: animated })', 'responder.scrollResponderScrollTo' is undefined)

dcenatiempo commented 2 years ago

We have this issue as well. We just noticed it after upgrading from RN64 to RN66.

We were on react-native-keyboard-aware-scroll-view 0.9.2, but I believe upgrading to 0.9.5 fixes the issue.

What versions of this package and RN are you on?

bisiAlessandroDocPlanner commented 2 years ago

We spotted the problem after updating react native to 0.65.2 we fixed it updating the react-native-keyboard-aware-scroll-view to 0.9.5 . Thank you @dcenatiempo 😄

sanjay628 commented 2 years ago

Hi I am getting this issue my react native version is "0.66.4" and react-native-keyboard-aware-scroll-view to 0.9.5

siddharthpvi commented 2 years ago

any update on issue, having same issue.

NaNtrack commented 2 years ago

i had the same issue, but it turn out to be the native-base dependency @codler/react-native-keyboard-aware-scroll-view i solved that using https://github.com/APSL/react-native-keyboard-aware-scroll-view/issues/504#issuecomment-980236620

nandorojo commented 2 years ago

Upgrading to 0.9.5 fixed this for me on RN 0.68.

alexei2000 commented 2 years ago

i had the same issue with 0.9.5 and RN 0.68

tosifkhan01 commented 1 year ago

Facing same issue on "react-native": "0.66.4" and "react-native-keyboard-aware-scroll-view": "0.9.5"

harshmdr commented 1 year ago

Facing same issue on "RN:0.68.2" and "native base:2.15.2"

H4mxa commented 1 year ago

Any update on this issue?

harshmdr commented 1 year ago

"resolutions": { "**/native-base/@codler/react-native-keyboard-aware-scroll-view": "2.0.1" }, It works if you are using native base v2

davidwinograd1 commented 1 year ago

Any solution? I tried every solution in this thread and nothing works. Upgrading to 0.9.5 did not fix it either. I'm on RN 68. @H4mxa @tosifkhan01 @alexei2000

Mihai-github commented 1 year ago

+1

VladyslavForm commented 5 months ago

+1, RN 0.70

DoHue97 commented 1 month ago

Hello all, any update for this issue? still error with react-native: 0.66.3 and 0.9.5 :(((

formaliuk commented 1 month ago

It seems like an issue with some relational dependencies, they fixed this issue in newer versions, so you can bump all the major versions of your packages and it should help.

DoHue97 commented 1 month ago

It seems like an issue with some relational dependencies, they fixed this issue in newer versions, so you can bump all the major versions of your packages and it should help.

my native base is 2.15.2, i saw the package.json of this is "@codler/react-native-keyboard-aware-scroll-view": "1.0.1". Do you have any suggest ? image

formaliuk commented 1 month ago

You should update your native base version to a new one. This issue is with their 2nd major (2.x.x), update it to the 3.x.x.

DoHue97 commented 1 month ago

image i tried to add resolutions but doent work :( "resolutions": { "@codler/react-native-keyboard-aware-scroll-view": "2.0.0" },

formaliuk commented 1 month ago

All other options to deal with this issue didn't help me. Only major update worked.

DoHue97 commented 1 month ago

All other options to deal with this issue didn't help me. Only major update worked.

haiza, this isn't not good solution, because my code will change more, but thank for your help!

formaliuk commented 1 month ago

That's how it is, you'll need to fix a lot after major update.