Closed marekrozmus closed 3 years ago
If swipe is made quite fast sometimes updatePosition is called after dragEnd event. That breaks state of trailingActionsOpened and dragStart does not work anymore.
updatePosition
dragEnd
trailingActionsOpened
dragStart
Added cancelling animation frame on dragEnd so that no more updatePosition is called.
Closes #2
@all-contributors please add @marekrozmus for code, doc, test, example, ideas, maintenance, design
@marekrozmus
I've put up a pull request to add @marekrozmus! :tada:
If swipe is made quite fast sometimes
updatePosition
is called afterdragEnd
event. That breaks state oftrailingActionsOpened
anddragStart
does not work anymore.Added cancelling animation frame on
dragEnd
so that no moreupdatePosition
is called.Closes #2