Skip to content
#

touch

Here are 356 public repositories matching this topic...

merrywhether
merrywhether commented Jun 25, 2020

Describe the bug
Swipes originating from coordinates with x = 0 (left edge) or y = 0 (top edge) will not be captured. I only found this by writing tests against my usage of this library as I believe this behavior is really hard to replicate in real world use cases. It's caused by a improper falsy check on this line:
https://github.com/FormidableLabs/react-swipeable/blob/master/src/index.js#L

Improve this page

Add a description, image, and links to the touch topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the touch topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.