Skip to content

Getting Error useNativeDriver #52

@RishiSetpal

Description

@RishiSetpal

While using: react-native-simple-modal

My Code: to just say ok and close
<Modal
open={this.state.showErrorDialog}
closeOnTouchOutside={false}
style={{ alignItems: "center" }}
modalStyle={{
borderRadius: 10,
backgroundColor: "#F5F5F5"
}}>

<View style={{ padding: 10 }}>
{alertTitle}

<View style={{ paddingLeft: 10, paddingRight: 10, paddingBottom: 10 }}>
{alertBody}


<View style={{ flex: 1 }} />
<PaperButton
onPress={() => { this._closeErrorDialog() }}
mode="contained"
color={colors.pri}
style={[styles.alertBtn]}>
<Text style={{
fontFamily: 'Nunito-Bold',
color: colors.white,
justifyContent: 'center', alignItems: 'center'
}}>
okay




Getting Error
backend.js:12688 Animated: useNativeDriver was not specified. This is a required option and must be explicitly set to true or false

Please Guide me for the same

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions