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

close boolean Props of Swipeout isn't working for manual closing of Swipeouts.

Open codepujan opened this issue 9 years ago • 2 comments

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} }

codepujan avatar Oct 17 '16 18:10 codepujan

Have the same problem in ListView..

It become normal only after refreshing ListView...

Stormsher avatar Jan 13 '17 14:01 Stormsher

I can not reproduce the problem. Please show me your complete code

silentcloud avatar May 11 '17 06:05 silentcloud