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

Prevent default browser behavior when using certain keyboard shortcuts #13097

Merged
merged 3 commits into from
Nov 13, 2020

Conversation

ghengeveld
Copy link
Member

@ghengeveld ghengeveld commented Nov 12, 2020

Issue: #13040

What I did

This fixes a conflict between default browser behavior and the sidebar's scrollToElement behavior when pressing option+down / option+up (or Windows equivalent).

How to test

  • Is this testable with Jest or Chromatic screenshots? No
  • Does this need a new example in the kitchen sink apps? No
  • Does this need an update to the documentation? No

If your answer is yes to any of these, please make sure to include it in your PR.

@domyen
Copy link
Member

domyen commented Nov 12, 2020

lgtm – seems fixed 👍

@ghengeveld ghengeveld merged commit a1465b6 into next Nov 13, 2020
@ghengeveld ghengeveld deleted the 13040-keydown-prevent-default branch November 13, 2020 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants