Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Does not swipe when gesture is started on a TextInput #178

Open
jasonmerino opened this issue Jun 7, 2017 · 1 comment
Open

Does not swipe when gesture is started on a TextInput #178

jasonmerino opened this issue Jun 7, 2017 · 1 comment

Comments

@jasonmerino
Copy link

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?

@silentcloud
Copy link
Collaborator

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants