
Loading…
[Firefox] Element picker: pressing escape to exit #530
rrooij
commented
gorhill
commented
Works on Chromium, so this is specific to Firefox.
rrooij
commented
Works on Chromium, so this is specific to Firefox.
Ah, that's a pity.
gorhill
commented
I didn't look, but I suspect it's fixable.
Deathamns
commented
A window.focus() will fix it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When selecting the element picker mode, you can't quit the mode until you've selected an element. Wouldn't it be nice if it stopped when pressing ESC? It already stops when hitting ESC when the user has already selected an element, but not if the user hasn't.
I tried to implement it myself and saw the method onKeyPress already added as eventlistener. Can the eventlistener be applied earlier on? I tried with no luck.
Firefox user btw.