react-native-swipeout
react-native-swipeout copied to clipboard
close boolean Props of Swipeout isn't working for manual closing of Swipeouts.
The developer(s) of this library have done a great job in developing and evolving this library . I was wondering how we can work with closing one of the opened Swipeouts programatically . Then there is this close boolean Prop . I tried working with setting the state of closed of a Swipeout based on closed and opened state : but it isn't working . Please guide me if that's not the way which I should be approaching the task of automatically closing the stuff
<Swipeout close={this.state.closed} autoclose=true/>
//Some function closeSwipeout(){ this.setState{close=true} }
Have the same problem in ListView..
It become normal only after refreshing ListView...
I can not reproduce the problem. Please show me your complete code