react-native-paper
react-native-paper copied to clipboard
Hidden banner is visible for short time
Current behaviour
Banner with property visible={false} is visible for short time (100-200ms) on render()
Code sample
render() {
return (<View><Banner visible={false} actions={[{
label: 'OK',
onPress: () => this.setState({some_state_property: false})
}
]}>Text Message
</Banner></View>)
}
Your Environment
| software | version |
|---|---|
| ios or android | ios & android |
| react-native | 0.57.8 |
| react-native-paper | 2.9.0 |
| node | 11.7.0 |
| npm or yarn | 6.7.0 |