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

Check event bubbling cancellation at each step of propagation #2191

Merged
merged 1 commit into from
Nov 23, 2021

Conversation

rjmac
Copy link

@rjmac rjmac commented Nov 23, 2021

Description

Allow a handler attached to any node to cancel event propagation, rather than only the innermost..

Fixes #2185

Checklist

  • I have run cargo make pr-flow
  • I have reviewed my own code
  • I have added tests

Rather than once after the innermost node is given the chance to
handle it.

Fixes yewstack#2185
Copy link
Contributor

@mc1098 mc1098 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution ❤️
LGTM

@mc1098 mc1098 added the A-yew Area: The main yew crate label Nov 23, 2021
@voidpumpkin voidpumpkin merged commit 47fad81 into yewstack:master Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-yew Area: The main yew crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Event propagation cancellation check happens too early?
3 participants