Skip to content

Check event bubbling cancellation at each step of propagation#2191

Merged
voidpumpkin merged 1 commit into
yewstack:masterfrom
rjmac:nested-bubble-cancel
Nov 23, 2021
Merged

Check event bubbling cancellation at each step of propagation#2191
voidpumpkin merged 1 commit into
yewstack:masterfrom
rjmac:nested-bubble-cancel

Conversation

@rjmac
Copy link
Copy Markdown

@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
Copy Markdown
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