We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd61160 commit 1515e49Copy full SHA for 1515e49
addon/components/paper-button.js
@@ -101,17 +101,19 @@ export default class PaperButton extends Focusable {
101
return this.args.fab || this.args.mini;
102
}
103
104
+ get bubbles() {
105
+ return this.args.bubbles === undefined || this.args.bubbles;
106
+ }
107
+
108
@action handleClick(e) {
109
if (this.args.onClick) {
110
this.args.onClick(e);
111
112
113
// Prevent bubbling, if specified. If undefined, the event will bubble.
- if (this.args.bubbles === undefined) {
- return true;
114
+ if (!this.bubbles) {
115
+ e.stopPropagation();
116
-
- return this.args.bubbles;
117
118
119
// Proxiable Handlers
0 commit comments