-
Notifications
You must be signed in to change notification settings - Fork 179
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
[v4] fix focus trap #220
[v4] fix focus trap #220
Conversation
@scottsfarley93 I added a test to make sure that when the input is empty and in focus and then there is a keydown event from Tab that the I attempted to test under the same conditions, expect that if a different key is pressed that |
… _onKeyDown function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Good work on getting the tests to cover this so we know we won't regress.
* version4: (37 commits) fix focus trap (#220) add `npm run docs` step to template (#221) Fix typo in documentation additional properties existance check Ensure properties exist prior to checking id respond to @katydecorah 's code review comments update changelog deduplicate result event emissions update changelog remove use of hardcoded feature IDs update outdated packages with npm update update changelog Bump insecure dev dependencies tests for options.flyTo update changelog bump suggestions to v1.3.4 Update changelog update jsdoc and api docs pass flyTo options to map upon selection extend eslint, add precommit hook (#210) ...
* version4: (25 commits) fix focus trap (#220) add `npm run docs` step to template (#221) Fix typo in documentation additional properties existance check Ensure properties exist prior to checking id update changelog remove use of hardcoded feature IDs update outdated packages with npm update update changelog Bump insecure dev dependencies tests for options.flyTo Update changelog update jsdoc and api docs pass flyTo options to map upon selection extend eslint, add precommit hook (#210) replace sha.js with nanoid reduce bundle size to 42kb (13kb gzipped) [docs] update deploy process (#198) prepare to publish v3.1.6 update package-lock bump package version to v3.1.5 ...
master
heading before mergingFixes focus trap described in #162. This PR makes sure that
_onKeyDown
, if the user is tabbing though do not_clear
the input because it will set the focus back on the input.