Closed Aarononomous closed 2 years ago
I'm throwing errors every time I keydown in an element with a dotted id. For example, <div id="account.firm">.
<div id="account.firm">
I think this should be resolvable by quoting and escaping the target id in the querySelector, index.ts line 23, from
if (!target.ownerDocument.querySelector(`[data-hotkey-scope=${target.id}]`)) return
to
if (!target.ownerDocument.querySelector(`[data-hotkey-scope="${CSS.escape(target.id)}"]`)) return
Thanks for the report @Aarononomous! It's fixed in 1.6.1 :tada:
I'm throwing errors every time I keydown in an element with a dotted id. For example,
<div id="account.firm">
.I think this should be resolvable by quoting and escaping the target id in the querySelector, index.ts line 23, from
to