jkup / shortcut

:book: A keyboard shortcut library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor activeElement code

jkup opened this issue · comments

Right now we grab the activeElement and check if it's set at all, if it is we don't trigger the events. Instead we should have a blacklist of elements that if they have focus, we don't trigger. texarea's, input's, maybe more?