client/notes: don't steal arrow keys in textarea
This commit is contained in:
parent
dfc65e5a7c
commit
4bfdd4c5cb
1 changed files with 4 additions and 0 deletions
|
@ -609,6 +609,10 @@ class PostNotesOverlayControl extends events.EventTarget {
|
|||
}
|
||||
|
||||
_evtCanvasKeyDown(e) {
|
||||
const illegalNodeNames = ['textarea', 'input', 'select'];
|
||||
if (illegalNodeNames.includes(e.target.nodeName.toLowerCase())) {
|
||||
return;
|
||||
}
|
||||
this._state.evtCanvasKeyDown(e);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue