Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if I focus on input my keyboard cover up and I dont see my modal #556

Open
shop-fluencer opened this issue Nov 6, 2022 · 1 comment
Open

Comments

@shop-fluencer
Copy link

Why my keyboard covers up my modal when I am focusing on my textinput ?

mdd

    <BottomSheetModal
      ref={ref}         
      index={1}
      snapPoints={snapPoints}
      handleIndicatorStyle={[s.handleStyle, s.handleColorWhite]}
      backdropComponent={BottomSheetBackdrop}
    >
      <KeyboardAwareScrollView keyboardShouldPersistTaps='handled' contentContainerStyle={{flexGrow: 1}}>
        <View style={s.centered}>
          <Text style={s.title}>Rabatt-Code</Text>
          <Text style={s.subtitle}>Füge ein Rabatt-Code für dein Produkt ein</Text>
          <Text style={s.stepText}>{`Schritt ${step}/3`}</Text>
        </View>

                <Text style={[s.text, s.bold]}>Nur Buchstaben & Zahlen!</Text>
                <View style={s.content}>
                  <View style={s.inputContainer}>
                    <Input
                      placeholder='Name (exp. Max50)'
                      value={coupon.name}
                      onChangeText={handleChangeName}
                      style={[InputStyles.full_icon]}
                      icon={<Ionicons name="md-newspaper-outline" size={24} style={s.icon} color="#333" />}
                    />
                  </View>
                  <View style={s.containerInner}>
                    <Pressable onPress={handleChangeStage} style={[ButtonStyles.full]}>
                      <Text style={s.btnText}NEXT</Text>
                    </Pressable>
                  </View>
                </View>
         </KeyboardAwareScrollView>
    </BottomSheetModal>
@JosephLu2022
Copy link

+1 i can't see my modal when used together. but works on android with enableOnAndroid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants