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: check if popover target has focusElement as focusable #8732

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

web-padawan
Copy link
Member

Description

Fix for a problem found in #8702 (comment)

The original logic added in #7609 didn't take into account cases where popover.target isn't focused, but wraps a focusable element instead as focusElement, which is the case for text-field and other field components.

Modified original tests to run also with focusElement case (it's better to review with "ignore whitespace changes").

Type of change

  • Bugfix

@web-padawan web-padawan changed the title fix: check if popover targer has focusElement as focusable fix: check if popover target has focusElement as focusable Feb 25, 2025
@web-padawan web-padawan force-pushed the fix/popover-tab-order-focus-element branch from c96da05 to dfc636f Compare February 25, 2025 10:10
Copy link

sonarqubecloud bot commented Feb 25, 2025

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@web-padawan web-padawan removed the request for review from vursen February 26, 2025 11:44
@web-padawan web-padawan merged commit 3aab632 into main Feb 26, 2025
9 checks passed
@web-padawan web-padawan deleted the fix/popover-tab-order-focus-element branch February 26, 2025 11:44
web-padawan added a commit that referenced this pull request Feb 26, 2025
…8744)

Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
web-padawan added a commit that referenced this pull request Feb 26, 2025
…8742)

Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
web-padawan added a commit that referenced this pull request Feb 26, 2025
…8743)

Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
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