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

[BUGFIX release] Fix component action bubbling semantics. #14291

Merged
merged 1 commit into from
Sep 14, 2016

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Sep 14, 2016

When a component action returns true we should not bubble the action upwards (this is a significant difference between Component#send and Controller#send / Route#send). The only way to get bubbling from within a component is to call Component#sendAction.

This removes an invalid fallback in ActionSupport mixin that allowed all component actions to bubble, and adds a few tests to help ensure we do not regress in future refactors.

Fixes #14275.

When a component action returns `true` we should not bubble the action
upwards (this is a significant difference between `Component#send` and
`Controller#send` / `Route#send`). The only way to get bubbling from
within a component is to call `Component#sendAction`.

This removes an invalid fallback in `ActionSupport` mixin that allowed
all component actions to bubble, and adds a few tests to help ensure we
do not regress in future refactors.
@rwjblue rwjblue merged commit fb4ee34 into master Sep 14, 2016
@rwjblue rwjblue deleted the fix-component-action-bubbling branch September 14, 2016 15:07
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.

1 participant