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
1 changed files with 4 additions and 0 deletions

View File

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