Skip to content

Conversation

rxrossi
Copy link

@rxrossi rxrossi commented Feb 9, 2018

Currently canceling a event by moving outside from the Touchable area would not prevent the onPress event of being triggered
This would affect users clicking on a Touchable by accident while scrolling up or down on mobile browsers

It is probably a fix for the issue #731

Canceling a event by moving outside from the Touchable area would not prevent the onPress event of being triggered
This would affect users clicking on a Touchable by accident while scrolling up or down on mobile browsers

It is probably a fix for the issue necolas#731
@rxrossi rxrossi closed this Feb 9, 2018
@rxrossi rxrossi reopened this Feb 9, 2018
@necolas
Copy link
Owner

necolas commented Feb 9, 2018

Canceling a event by moving outside from the Touchable area would not prevent the onPress event of being triggered

Where are you seeing that?

@rxrossi
Copy link
Author

rxrossi commented Feb 10, 2018

Hi, the current behavior is the the same using Chrome for desktop simulating a device or on a actual device: https://imgur.com/a/wgyr9
This code changes the behavior to this: https://imgur.com/a/hgik2

@necolas
Copy link
Owner

necolas commented Feb 12, 2018

I see, this only occurs when the Touchables are not contained within a ScrollView (i.e., you're using browser body scrolling).

@necolas
Copy link
Owner

necolas commented Feb 14, 2018

I don't think this PR works

@necolas necolas closed this Feb 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants