Avoid closing the customizer on arrow up key context selection change (thanks barbaz for reporting).
This commit is contained in:
parent
b3a528aa1d
commit
bdc782151f
|
@ -689,9 +689,11 @@ var UI = (() => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
case "ArrowUp":
|
||||||
|
if (document.activeElement === ctxSelect)
|
||||||
|
return; // avoid closing the customizer on context selection change
|
||||||
case "ArrowLeft":
|
case "ArrowLeft":
|
||||||
case "ArrowRight":
|
case "ArrowRight":
|
||||||
case "ArrowUp":
|
|
||||||
this.onkeydown = null;
|
this.onkeydown = null;
|
||||||
this.customize(null);
|
this.customize(null);
|
||||||
preset.focus();
|
preset.focus();
|
||||||
|
|
Loading…
Reference in New Issue