-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
x/tour: keyboard shortcut not working (new ui) #8829
Labels
Milestone
Comments
gopherbot
pushed a commit
to golang/website
that referenced
this issue
May 26, 2021
FF and IE fail to populate event.keyCode, but instead populate event.which with the key code. event.key is a DOMString of "PageUp" or "PageDown" in this case, so remove the invalid comparision to a numeric key code and instead compare the keycode to event.which. Fixes golang/go#8829 Change-Id: I7192d2e561e2be5472018d8a3b06a91ab9dab49b Reviewed-on: https://go-review.googlesource.com/15001 Reviewed-by: Andrew Gerrand <adg@golang.org> X-Tour-Commit: aef6c802ede697bfc71a740ccd720cc12c6de29b
MK825
added a commit
to MK825/website
that referenced
this issue
Oct 18, 2022
FF and IE fail to populate event.keyCode, but instead populate event.which with the key code. event.key is a DOMString of "PageUp" or "PageDown" in this case, so remove the invalid comparision to a numeric key code and instead compare the keycode to event.which. Fixes golang/go#8829 Change-Id: I7192d2e561e2be5472018d8a3b06a91ab9dab49b Reviewed-on: https://go-review.googlesource.com/15001 Reviewed-by: Andrew Gerrand <adg@golang.org> X-Tour-Commit: aef6c802ede697bfc71a740ccd720cc12c6de29b
KimuraDanaka119
added a commit
to KimuraDanaka119/go-tour-jp
that referenced
this issue
Jun 4, 2023
FF and IE fail to populate event.keyCode, but instead populate event.which with the key code. event.key is a DOMString of "PageUp" or "PageDown" in this case, so remove the invalid comparision to a numeric key code and instead compare the keycode to event.which. Fixes golang/go#8829 Change-Id: I7192d2e561e2be5472018d8a3b06a91ab9dab49b Reviewed-on: https://go-review.googlesource.com/15001 Reviewed-by: Andrew Gerrand <adg@golang.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: