react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

Hidden banner is visible for short time

Open roman-huliak opened this issue 7 years ago • 0 comments

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

roman-huliak avatar Feb 02 '19 12:02 roman-huliak