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

CTRL+ALT+Space shortcut broken in Chrome #464

Open
aidanbiggs opened this issue Sep 25, 2019 · 7 comments
Open

CTRL+ALT+Space shortcut broken in Chrome #464

aidanbiggs opened this issue Sep 25, 2019 · 7 comments

Comments

@aidanbiggs
Copy link

aidanbiggs commented Sep 25, 2019

Hi,

We're currently having an issue in Chrome where using Mousetrap.bindGlobal(['ctrl+alt+space'] no longer works, when it did previously. We tested in Chrome 77-70 and it still did not work

This shortcut works on Firefox but not chrome. Changing the shortcut to CTRL+ALT+F fixes the issue but we'd like to keep our original shortcut to keep our users muscle memory

Demo here:
https://codepen.io/aidanbiggs/pen/VwZRWyZ

Any help would be appreciated, thanks!

@aidanbiggs aidanbiggs changed the title CTRL+ALT+Space shortcut broken in Chrome 77 - 70 CTRL+ALT+Space shortcut broken in Chrome Sep 25, 2019
@xome4ok
Copy link

xome4ok commented Sep 27, 2019

We're having this too.
It started after update to Chrome 77.0.3865.90 and seems to be reproducible only in windows version.

In previous Chrome version the shortcut still works, and it also works in Chrome for linux 77.0.3865.90.

UPD:

I've discovered that 'keyup' event can be used as a temporary workaround while this is getting fixed.

Mousetrap.bind('ctrl+alt+space', () => alert('works'), 'keyup');

@and-semakin
Copy link

and-semakin commented Sep 27, 2019

See also Chrome bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1008821

@mustaqahmed
Copy link

Sorry to hear that it is broken in Chrome 77! I think this is the core problem, which has just been fixed for upcoming Chrome 78. Can someone please verify if latest Chrome Canary works?

@mustaqahmed
Copy link

Just confirmed that the bug has been fixed for Chrome 78.

@and-semakin
Copy link

@mustaqahmed are there plans to backport this fix to Chrome 77?

@mustaqahmed
Copy link

Unfortunately the Chromium bug was reported a bit too late to catch 77.

@and-semakin
Copy link

Anyway thank you @mustaqahmed! :) Will wait for Chrome 78 to release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants