Skip to content

Conversation

@j-piasecki
Copy link
Member

Description

Up to this point, the API mirrored V2, where success was being passed as an additional parameter to the end callbacks.

This PR changes it, so the flag is being passed as part of the event to the callbacks. I also think that the approach to working with gestures is to assume that they will succeed, so I changed the flag to canceled.

This also seems to be the easiest one to explain in the docs - "the gesture was canceled due to failure to meet activation criteria, the activation of another gesture, by the OS".

Test plan

Verify that calceled exists in events passed to onDeactivate and onFinalize.

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