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

react-native-floating-label-text-input is not visible in react-native-popup-dialog #33

Open
AishwaryaSurana opened this issue Oct 4, 2017 · 0 comments

Comments

@AishwaryaSurana
Copy link

I am using react-native-popup-dialog with FloatingLabelTextInput but it is not shown within Dialog. whereas simple TextInput component of react-native is appearing within. What is the issue with it?
Below is my code:


<PopupDialog
          dialogTitle={<DialogTitle title="Dialog Title" />}
          ref={(popupDialog) => { this.popupDialog = popupDialog; }}>
            <View>
            <Text>Hello</Text>

            <TextInput
              style={{height: 40}}
              selectionColor="#f66e09"
              keyboardType= 'default'
              placeholder="First Name and Last Name"
              autoCapitalize = "none"
            />
            <FloatLabelTextInput
              style={{height: 40}}
              selectionColor="#f66e09"
              keyboardType= 'numeric'
              placeholder="Contact No."
              autoCapitalize = "none"
            />
            <TextInput
              style={{height: 40}}
              selectionColor="#f66e09"
              keyboardType= 'email-address'
              placeholder="Email"
              autoCapitalize = "none"
            />
          </View>
        </PopupDialog>

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

1 participant