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(popup): Allow SVG elements in focus calculations #2331

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

NicholasBoll
Copy link
Member

Summary

SVG elements should not be used as popup targets, but we shouldn't be restricting them. This change allows SVG elements to be valid elements when it comes to calculating focus returning and management in the popup system.

Fixes #2330

Release Category

Components


Checklist

  • Label ready for review has been added to PR

For the Reviewer

  • PR title is short and descriptive
  • PR summary describes the change (Fixes/Resolves linked correctly)

SVG elements should not be used as popup targets, but we shouldn't be restricting them. This change allows SVG elements to be valid elements when it comes to calculating focus returning and management in the popup system.

Fixes #2330
@NicholasBoll NicholasBoll added the ready for review Code is ready for review label Sep 6, 2023
@github-actions github-actions bot requested a review from alanbsmith September 6, 2023 18:00
@cypress
Copy link

cypress bot commented Sep 6, 2023

Passing run #6110 ↗︎

0 799 2 0 Flakiness 0

Details:

Merge 4537f99 into df9cf08...
Project: canvas-kit Commit: 83b7316fdd ℹ️
Status: Passed Duration: 07:46 💡
Started: Sep 6, 2023 6:08 PM Ended: Sep 6, 2023 6:16 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@alanbsmith alanbsmith added accessibility approved Code has been reviewed and approved (ship it) automerge and removed ready for review Code is ready for review accessibility labels Sep 6, 2023
@alanbsmith alanbsmith merged commit e051ebd into support Sep 6, 2023
21 of 22 checks passed
@alanbsmith alanbsmith deleted the fix/return-focus-svg-elements branch September 6, 2023 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Code has been reviewed and approved (ship it) automerge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants