react-native-keyboard-aware-scroll-view
react-native-keyboard-aware-scroll-view copied to clipboard
If textinput is password with secureTextEntry props. The auto scroll doesn't work correctly
I have the same problem with https://github.com/APSL/react-native-keyboard-aware-scroll-view/issues/212. Can someone take a look? Thanks
If textinput is password with secureTextEntry props. The auto scroll doesn't work
React 16.2.0 React Native 0.52.0 Keyboard-aware-scroll-view 0.7.4 iOS 11.4.1
In my case auto scroll bounces before settling to final position. After removing secureTextEntry prop form TextInput everything works fine.
I have the same problem. But I caant remove the secureTextEntry
I found that this happens when you have two inputs with secureTextEntry enabled
@acollazomayer you can fix the problem with passing negative extraHeight prop: extraHeight={-65}
@DavitVosk what?
Handled by adding this to TextInput but need proper fix in lib: onFocus={(e) => { // Handle scroll from secure text entry to another input with secure text entry confirmPassRef && confirmPassRef.current.setNativeProps({ secureTextEntry: false }); setTimeout(() => { // @ts-ignore: Object is possibly 'null'. confirmPassRef && confirmPassRef.current.setNativeProps({ secureTextEntry: !showConfirmPassword }) }, 50); }