-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Splattributes, {{action}} modifier and component event handlers #17877
Comments
@simonihmig do you want to work on this one too? |
This one is [BUGFIX canary] only, the feature was added after the beta branch point. /cc @cibernox |
I can do it, but probably only more towards the end of the week...
Agree on the order. Not sure about the cancelation. Currently returning false means we do But here we are dealing with the case that we have multiple listeners on the same element, which So not really sure if we can/should allow event cancelation for all the listeners of the same element here? Which is really ironic, as this was exactly the example I brought up as a "dangerous" thing during the RFC process! 🤷♂️😂 |
I think it should not.
That's a good point 🤔
I don't "not allowing" it is not really an option, I think the main decision is whether the action handlers get run before or after the component handler. If it's after, then |
The |
See #17874 (comment)
As part of the fix we need to decide which one fires first, since it was not specified in the RFC. My gut feeling is that the component’s handler should fire first and given the option to cancel it.
The text was updated successfully, but these errors were encountered: