Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug mode (alt mode) gets stuck when Alt-Tabbing #39

Closed
joeyfoo opened this issue Aug 17, 2020 · 0 comments
Closed

Debug mode (alt mode) gets stuck when Alt-Tabbing #39

joeyfoo opened this issue Aug 17, 2020 · 0 comments
Labels

Comments

@joeyfoo
Copy link

joeyfoo commented Aug 17, 2020

TL:DR Description: Alt keystroke conflicts with Alt-Tab.
Suggestion: Change the debug hotkey or reset the debug state when clicking on a different stop

Reproduced in Microsoft Edge Dev 86.0.601.1


Long story: I was wondering why the Passing Routes and Bus Arrivals buttons were randomly replaced by the Set as Start and Set as End buttons. Dug into the code, and I eventually found out that the Alt keystroke is used to toggle the alt-mode class.

Turns out what was happening was the down keystroke for the Alt key would fire when switching with Alt-Tab, but the key up event wouldn't be captured while out of focus.

20200817_180459

@cheeaun cheeaun added the bug label Aug 24, 2020
@cheeaun cheeaun closed this as completed in a0ab9c6 Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants