-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
onSwipeStart only called once per element #39
Comments
Hi @arondeparon - what do you mean in point 3? Do you release the click/touch or not? I have tried here: https://marekrozmus.github.io/react-swipeable-list/ and when I go like this:
|
@marekrozmus the issue seems to occur only when swiping from a "locked" state (not sure what you call it?) to another "locked" state. It's a bit hard to describe, so I recorded a video showing the behavior. CleanShot.2023-06-08.at.22.55.11.mp4 |
Hi @arondeparon - what kind of case you need that specific behaviour? |
Describe the bug
When using a trailing and leading action on a single element,
onSwipeStart
will only be called once.To Reproduce
Steps to reproduce the behavior:
onSwipeStart
will triggeronSwipeStart
will NOT trigger.Expected behavior
onSwipeStart
should trigger every time a new sequence is started.Note: it does work when swiping on another
SwipableListItem
and afterwards returning to the original element.The text was updated successfully, but these errors were encountered: