Closed Etaliya closed 2 years ago
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",
Why I should use it? Is this a bug in a library and we should to wait update?
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
In my case, I resolved using these props:
<KeyboardAwareScrollView
enableOnAndroid={true}
keyboardShouldPersistTaps={"handled"}
enableResetScrollToCoords={false}
>
Thankyou @dariuxmx it worked for me
In my case, I resolved using these props:
<KeyboardAwareScrollView enableOnAndroid={true} keyboardShouldPersistTaps={"handled"} enableResetScrollToCoords={false} >
Same issue here
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",
I have not used react-native-keyboard-aware-scroll-view, even though I'm getting this error, any luck?
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.
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
Oh got it guys thanks, Actually this was the path ...
node_modules > @codler > react-native-keyboard-aware-scroll-view > KeyboardAwareHOC.js
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}
>
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.
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.
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
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
When I tried to![simulator_screenshot_E4C3359A-1C46-4A34-8299-6F052D9DC3A6](https://user-images.githubusercontent.com/54949248/133787535-c1f229d7-3e84-4986-9914-c49f6d864317.png)
KeyboardAwareScrollView
withTextInput