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

fix: make the menu keyboard-accessible in browser #1046

Merged
merged 1 commit into from
May 6, 2019

Conversation

satya164
Copy link
Member

@satya164 satya164 commented May 2, 2019

This PR makes sure that

  • The correct item is focused when showing/hiding the menu
  • The menu can be dismissed by the keyboard with Esc
  • The menu is not rendered when not visible

Kapture 2019-05-02 at 18 43 47

This PR makes sure that
- The correct item is focused when showing/hiding the menu
- The menu can be dismissed by the keyboard
- The menu is not rendered when not visible
@satya164 satya164 requested a review from Trancever May 2, 2019 16:53
@callstack-bot
Copy link

Hey @satya164, thank you for your pull request 🤗. The documentation from this branch can be viewed here. Please remember to update Typescript types if you changed API.

Copy link
Contributor

@Trancever Trancever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Satya!

@Trancever Trancever merged commit 5935fb4 into master May 6, 2019
@satya164 satya164 deleted the @satya164/menu-accessibility branch May 6, 2019 08:26
iyadthayyil pushed a commit to iyadthayyil/react-native-paper that referenced this pull request Jun 6, 2019
This PR makes sure that
- The correct item is focused when showing/hiding the menu
- The menu can be dismissed by the keyboard
- The menu is not rendered when not visible
Trancever pushed a commit that referenced this pull request Jun 27, 2019
This PR makes sure that
- The correct item is focused when showing/hiding the menu
- The menu can be dismissed by the keyboard
- The menu is not rendered when not visible
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

Successfully merging this pull request may close these issues.

3 participants