React-native-modal: Previous component visible, when keyboard opens on Modal, Only in Android

Created on 5 May 2020  路  3Comments  路  Source: react-native-modal/react-native-modal

` <View> <Modal isVisible={showModal} style={{ justifyContent: 'flex-end', margin: 0, }}> <View style={style.container}> <HeaderUserType title='Header' showBackButton showCrossButton={false} onBackButtonPress={handleBackButtonPress} /> <KeyboardAwareScrollView contentContainerStyle={{ alignItems: 'center', flexGrow: 1 }} showsVerticalScrollIndicator={false}> <Text style={[ style.validationTitleText, { marginTop: heightScale(30) }, ]}> {''} </Text> <Text style={[ style.validationTitleText, { fontFamily: fontFamily.verdanaBold, marginTop: heightScale(10), }, ]}> {strings.PLEASE_PROVIDE_THE_FOLLOWING_INFORMATION} </Text> <TextField onFocus={() => setIdFocused(true)} onBlur={() => setlIdFocused(false)} containerStyle={{ marginTop: heightScale(50) }} placeholderLabel={strings.ID} label={strings.ID} showLabel={IdFocused || Id.length > 0} onChangeText={setId} value={Id} /> <TextField onFocus={() => setNameFocused(true)} onBlur={() => setNameFocused(false)} containerStyle={{ marginTop: heightScale(20) }} placeholderLabel={strings.YOUR_FULL_NAME} label={strings.YOUR_FULL_NAME} showLabel={nameFocused || name.length > 0} onChangeText={setName} value={name} /> <View style={[style.bottomButtonsView, { bottom: bottom }]}> <Button title=''click" isDisabled={!enableButton} onButtonClick={sendDataToServer} customStyle={{ opacity: enableButton ? 1 : 0.5 }} /> </View> </KeyboardAwareScrollView> </View> </Modal> </View>
Screenshot 2020-05-05 at 8 51 43 PM

"react-native-modal": "^11.5.6",
"react": "16.9.0",
"react-native": "0.61.5",

question

Most helpful comment

Getting the same error :(

All 3 comments

Getting the same error :(

Anyone else facing the same issue?

in my case is previous component still appear there 1s or 2s then disappear when I press close modal

Was this page helpful?
0 / 5 - 0 ratings

Related issues

haveamission picture haveamission  路  3Comments

levelingup picture levelingup  路  3Comments

psycura picture psycura  路  4Comments

HoaiHuynh picture HoaiHuynh  路  3Comments

dcarrot2 picture dcarrot2  路  4Comments