Skip to content

[FIX] Keyboard navigation for modals #2127

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

Conversation

maniSHarma7575
Copy link
Contributor

Description

  1. Made changes to the handleKeyPress function. Earlier on every key press it was calling the toggleOpen method.
    Now only when it's enter key then only the toggleOpen will be called.

Corresponding Issue

#2118


Reviewing this pull request? Check out our Code Review Practices guide if you haven't already!

@welcome
Copy link

welcome bot commented Oct 1, 2022

Thank you for opening this pull request with us! Be sure to follow our Pull Request Practices. Let us know if you have any questions on Slack.

@maniSHarma7575 maniSHarma7575 force-pushed the 2118-fix-keyboard-navigation-for-modals branch 2 times, most recently from c7819dc to 9a90ff2 Compare October 1, 2022 21:47
Copy link
Member

@julianguyen julianguyen left a comment

Choose a reason for hiding this comment

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

Thanks so much for working on this and putting up a PR relatively quickly 🎉 Also thanks for writing a contributor blurb!

Have some feedback, let me know if you have any questions!

@maniSHarma7575 maniSHarma7575 force-pushed the 2118-fix-keyboard-navigation-for-modals branch 4 times, most recently from 5a6c9dd to e0d2c72 Compare October 2, 2022 12:28
Copy link
Member

@julianguyen julianguyen left a comment

Choose a reason for hiding this comment

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

Thanks for the updates, great work! Have some more feedback, and I think after that we should be good to go 🚀

@maniSHarma7575 maniSHarma7575 force-pushed the 2118-fix-keyboard-navigation-for-modals branch from e0d2c72 to 4259444 Compare October 2, 2022 18:41
@maniSHarma7575
Copy link
Contributor Author

@julianguyen Thanks for the feedback!, PR is ready for review.

@maniSHarma7575 maniSHarma7575 force-pushed the 2118-fix-keyboard-navigation-for-modals branch from 4259444 to 45a6d08 Compare October 2, 2022 18:58
Copy link
Member

@julianguyen julianguyen left a comment

Choose a reason for hiding this comment

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

Fantastic work!! Thanks so much for taking this on and going through the review process 👏 🎉

@julianguyen julianguyen merged commit eb3f38b into ifmeorg:main Oct 3, 2022
@welcome
Copy link

welcome bot commented Oct 3, 2022

Thank you for merging this pull request with us! If you haven't already, in another pull request, please add yourself to our About page.

@maniSHarma7575
Copy link
Contributor Author

Fantastic work!! Thanks so much for taking this on and going through the review process 👏 🎉

Thanks @julianguyen You are doing fantastic work, Pleasure 🙏 to be part of this initiative. Keep doing the good work!

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

Successfully merging this pull request may close these issues.

3 participants