DEV: allows click to propagate outside of header but not outside of sk (#9491)
This commit is contained in:
parent
6559ad0d80
commit
4f834f0008
|
@ -122,6 +122,10 @@ export default Component.extend(
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
click(event) {
|
||||||
|
event.stopPropagation();
|
||||||
|
},
|
||||||
|
|
||||||
_modifyComponentForRowWrapper(collection, item) {
|
_modifyComponentForRowWrapper(collection, item) {
|
||||||
let component = this.modifyComponentForRow(collection, item);
|
let component = this.modifyComponentForRow(collection, item);
|
||||||
return component || "select-kit/select-kit-row";
|
return component || "select-kit/select-kit-row";
|
||||||
|
|
|
@ -13,7 +13,7 @@ export default Component.extend(UtilsMixin, {
|
||||||
return;
|
return;
|
||||||
if (this.eventType !== "click" || event.button !== 0) return;
|
if (this.eventType !== "click" || event.button !== 0) return;
|
||||||
this.selectKit.toggle(event);
|
this.selectKit.toggle(event);
|
||||||
return false;
|
event.preventDefault();
|
||||||
},
|
},
|
||||||
|
|
||||||
classNames: ["select-kit-header"],
|
classNames: ["select-kit-header"],
|
||||||
|
|
Loading…
Reference in New Issue