DEV: prevents broken tests due to focus bubbling (#14223)

This commit is contained in:
Joffrey JAFFEUX 2021-09-02 18:30:52 +02:00 committed by GitHub
parent 074bce77f0
commit d2eef423c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,6 +158,10 @@ export default Component.extend(UtilsMixin, {
} }
}, },
focusIn(event) {
event.stopImmediatePropagation();
},
keyDown(event) { keyDown(event) {
if (this.selectKit.isExpanded) { if (this.selectKit.isExpanded) {
if (event.key === "Backspace") { if (event.key === "Backspace") {