4 ms·
It doesn't trigger events if you're in a INPUT/TEXTAREA/SELECT. The todo refers to making this configurable in a per-shortcut fashion.
by madrobby 15y ago
It doesn't trigger events if you're in a INPUT/TEXTAREA/SELECT.
The todo refers to making this configurable in a per-shortcut fashion.
- TrevorBurnham 15y agoAh, my bad. I didn't catch the line "if (tagName == 'INPUT' || tagName == 'SELECT' || tagName == 'TEXTAREA') return;", which is indeed a sensible default.