react-native-keyboard-aware-scroll-view icon indicating copy to clipboard operation
react-native-keyboard-aware-scroll-view copied to clipboard

TypeError: responder.scrollResponderScrollTo is not a function. (In 'responder.scrollResponderScrollTo

Open Etaliya opened this issue 5 years ago • 15 comments

When I tried to KeyboardAwareScrollView with TextInput simulator_screenshot_E4C3359A-1C46-4A34-8299-6F052D9DC3A6

Etaliya avatar Sep 17 '21 13:09 Etaliya

I have found a temporary solution. add this in package.json file

"react-native-keyboard-aware-scroll-view": "github:APSL/react-native-keyboard-aware-scroll-view#pull/501/head",

Etaliya avatar Sep 17 '21 13:09 Etaliya

Why I should use it? Is this a bug in a library and we should to wait update?

ksielyov avatar Sep 21 '21 15:09 ksielyov

yes @ksielyov , there is a bug for RN v0.65.*, you shouldn't wait since the bug has been there for at least for 1 month, I really dont know why they don't fix it, but I will share you another solution, using patch-package, https://github.com/APSL/react-native-keyboard-aware-scroll-view/issues/494#issuecomment-900089166

ramsesDeco avatar Sep 21 '21 19:09 ramsesDeco

In my case, I resolved using these props:

<KeyboardAwareScrollView
  enableOnAndroid={true}
  keyboardShouldPersistTaps={"handled"}
  enableResetScrollToCoords={false}
  >

dariuxmx avatar Sep 22 '21 15:09 dariuxmx

Same issue here

geroale avatar Sep 27 '21 13:09 geroale

Can confirm the issue with the following:

"react": "17.0.2",
"react-native": "0.65.1",
"react-native-keyboard-aware-scroll-view": "^0.9.4",

dgreasi avatar Sep 28 '21 12:09 dgreasi

I have not used react-native-keyboard-aware-scroll-view, even though I'm getting this error, any luck?

mitesh-db avatar Oct 04 '21 06:10 mitesh-db

I have not used react-native-keyboard-aware-scroll-view, even though I'm getting this error, any luck?

Probably, you using some other component, that depends on react-native-keyboard-aware-scroll-view. Try to search in node_modules.

n10ty avatar Oct 05 '21 14:10 n10ty

I have not used react-native-keyboard-aware-scroll-view, even though I'm getting this error, any luck?

Probably, you using some other component, that depends on react-native-keyboard-aware-scroll-view. Try to search in node_modules.

try:

$ yarn why react-native-keyboard-aware-scroll-view

karladler avatar Oct 05 '21 21:10 karladler

Oh got it guys thanks, Actually this was the path ...

node_modules > @codler > react-native-keyboard-aware-scroll-view > KeyboardAwareHOC.js

mitesh-db avatar Oct 07 '21 04:10 mitesh-db

Can confirm the issue with the following:

"react": "17.0.2",
"react-native": "0.65.1",
"react-native-keyboard-aware-scroll-view": "^0.9.4",

@dgreasi Yes this happened with this configuration

iOS 15 resolved with

<KeyboardAwareScrollView
  enableOnAndroid={true}
  keyboardShouldPersistTaps={"handled"}
  enableResetScrollToCoords={false}
  >

nithinyell avatar Oct 12 '21 07:10 nithinyell

Can confirm the issue with the following:

"react": "17.0.2",
"react-native": "0.65.1",
"react-native-keyboard-aware-scroll-view": "^0.9.4",

@dgreasi Yes this happened with this configuration

iOS 15 resolved with

<KeyboardAwareScrollView
  enableOnAndroid={true}
  keyboardShouldPersistTaps={"handled"}
  enableResetScrollToCoords={false}
  >

This approach works without crashing, but it results to a different keyboard behavior from what i need in my case.

dgreasi avatar Oct 13 '21 09:10 dgreasi

I have found a temporary solution. add this in package.json file

"react-native-keyboard-aware-scroll-view": "github:APSL/react-native-keyboard-aware-scroll-view#pull/501/head",

This worked for me, I added a line to package.json and ran a 'yarn' command to install over the other version.

JeffPatricio avatar Oct 19 '21 15:10 JeffPatricio

yes @ksielyov , there is a bug for RN v0.65.*, you shouldn't wait since the bug has been there for at least for 1 month, I really dont know why they don't fix it, but I will share you another solution, using patch-package, #494 (comment)

same issue https://github.com/APSL/react-native-keyboard-aware-scroll-view/issues/494 https://github.com/APSL/react-native-keyboard-aware-scroll-view/issues/504 https://github.com/APSL/react-native-keyboard-aware-scroll-view/pull/501

anboia avatar Nov 02 '21 00:11 anboia

I have found a temporary solution. add this in package.json file "react-native-keyboard-aware-scroll-view": "github:APSL/react-native-keyboard-aware-scroll-view#pull/501/head",

This worked for me, I added a line to package.json and ran a 'yarn' command to install over the other version.

I have the same issue in RN 0.66 This work and this works

janet-rivas avatar Nov 02 '21 14:11 janet-rivas