RealOrangeOne / react-native-busy-indicator

A simple, event controlled, busy indicator for react-native
MIT License
94 stars 41 forks source link

Render problem #15

Closed wayne1203 closed 7 years ago

wayne1203 commented 7 years ago

Hi, I got some issue when I using the library. I already put on the root and here is my code

<View style={styles.container}>
    <BusyIndicator />

    <Text style={styles.welcome}>
    Welcome to React Native!
    </Text>
    <View style={styles.loginForm}>
        <View style={styles.textInputContainer}>
            <TextInput 
            style={styles.textInput}
            underlineColorAndroid='transparent'
            onChangeText={(username) => this.setState({username})} />
        </View>
        <View style={styles.textInputContainer}>
            <TextInput 
            style={styles.textInput}
            underlineColorAndroid='transparent'
            secureTextEntry={true}
            onChangeText={(password) => this.setState({password})} />
        </View>
    </View>
    <Button
    onPress={this._handlePress}
    title="Login"
    accessibilityLabel="Learn more about this purple button"
    />
</View>
2017-06-13 12 34 56

I'm sorry, I found the problem.... Just put to the bottom between component and