Skip to content
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

onSwiping first is always true #221

Closed
feketegy opened this issue Nov 26, 2020 · 2 comments
Closed

onSwiping first is always true #221

feketegy opened this issue Nov 26, 2020 · 2 comments
Assignees
Labels

Comments

@feketegy
Copy link

Describe the bug
The first property for the onSwiping event is always true, not just for the first event.

Steps or Sandbox to reproduce
Fork the example codesandbox:

Expected behavior
The first property should be true on the very first event and false on subsequent events.

** Device/Browser **
Latest Chrome.

@hartzis hartzis self-assigned this Nov 26, 2020
@hartzis
Copy link
Collaborator

hartzis commented Nov 26, 2020

@feketegy Great find, thank you for the creating an issue and example, i appreciate it!

I thought we had a test for this, but alas we do not.

I'll see if i can get a PR open for a fix soon. PR open #223

@hartzis
Copy link
Collaborator

hartzis commented Dec 4, 2020

Fixed with #223 and published version v6.0.1

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

No branches or pull requests

2 participants