Open Maharshi01 opened 3 years ago
you can use react-native-android-keyboard-adjust to set adjustResize where screen keyboard pushing absolute-positioned header?
I'm having the same issue, did you have solution for that @Maharshi01?
I'm having the same issue, did you have solution for that @Maharshi01?
i had a same, and i use react-native-android-keyboard-adjust to solve. it is:
import AndroidKeyboardAdjust from 'react-native-android-keyboard-adjust';
class MyForm extends Component {
componentDidMount() { Platform.OS === "android" && AndroidKeyboardAdjust.setAdjustResize(); }
componentWillUnmount() { Platform.OS === "android" && AndroidKeyboardAdjust.setAdjustPan(); } }
in AndroidManifest.xml i set android:windowSoftInputMode="adjustPan".You can try it?
When textinput is focused which is in the region of the keyboard(i.e., at the bottom of the screen) keyboard is pushing the header component out of the screen, this issue is not occuring in iOS.
P.S. I set android:windowSoftInputMode="adjustPan" is the AndroidManifest