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

Does not swipe when gesture is started on a TextInput

Open jasonmerino opened this issue 8 years ago • 1 comments

I am working on adding a react-native-swipeout component around some rows that have TextInputs in them. Trouble is that where ever the TextInput is when I try to swipe over to show the react-native-swipeout buttons on that TextInput the swipe over doesn't happen.

Is there any way to configure this so that I can swipe over the row when starting the swipe on a TextInput?

jasonmerino avatar Jun 07 '17 21:06 jasonmerino

@jasonmerino Because of the line https://github.com/facebook/react-native/blob/0.44-stable/Libraries/Components/TextInput/TextInput.js#L697, you need to extend the TextInput, see the gist: https://gist.github.com/MikeShi42/87b65984f0a31e38d553cc056fcda017

silentcloud avatar Jun 09 '17 02:06 silentcloud