-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Touch Events not propagating through to Page #87
Comments
Quick update: After pulling down the code and trying somethings out, it seems that touch events will propagate when I set |
Hey Michael, does this example work for you? |
@michaelcavallaro03 I'm having the exact same issue. How did you apply pointerEvents="none" on the view that wraps the image? |
I belive that just like @michaelcavallaro03 I was using
|
Great work on this library, has been very easy to implement so far!
For some context, I am trying to add my login views to my onboarding flow which involves an email/password input. However, when adding the view that contains the TextInputs to either the
image
orsubtitle
for a given page, the TextInput is not able to receive focus to fill in the input.I tried to pass
scrollEnabled: false
to theflatlistProps
prop in hopes that the pointer events would pass through to my Views but did not help unfortunately. Looking at the code for the library it doesn't seem like anything would prevent touch events explicitly from propagating through to a given page,title
,subtitle
,image
.To try out a work around I tried to wrap the TextInput in a
TouchableNativeFeedback
to programmatically trigger focus, however touch events would not trigger theonPress
for that component.I have also tried passing
pointerEvents="none"
in a number of places which also did not help.Currently, my
pages
data is structured like:There very well could be something I'm missing, any help is much appreciated!
Thank you!
The text was updated successfully, but these errors were encountered: