mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 16:24:55 +00:00
DEV: prevents broken tests due to focus bubbling (#14223)
This commit is contained in:
parent
074bce77f0
commit
d2eef423c3
@ -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") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user