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: fixing issue with blurring shadow dom elements #29125

Merged
merged 6 commits into from
Mar 20, 2024
Merged

Conversation

mschile
Copy link
Contributor

@mschile mschile commented Mar 12, 2024

  • Closes n/a

Additional details

When retrieving the currently focused/active element, we are not taking into consideration the shadow dom. Thus, when we check to see if the element is currently focused and can be blurred, it fails since we do not think the shadow dom element is focused.

Steps to test

Focus an element in the shadow dom and then call blur on it.

How has the user experience changed?

Before:
Screenshot 2024-03-13 at 8 47 17 AM

After:
Screenshot 2024-03-13 at 8 45 08 AM

PR Tasks

Copy link

cypress bot commented Mar 12, 2024

Passing run #54565 ↗︎

0 550 9 0 Flakiness 0

Details:

Merge branch 'develop' into mschile/blur_fix
Project: cypress Commit: a939c47077
Status: Passed Duration: 14:08 💡
Started: Mar 20, 2024 4:28 PM Ended: Mar 20, 2024 4:42 PM

Review all test suite changes for PR #29125 ↗︎

@AtofStryker AtofStryker self-requested a review March 13, 2024 14:58
@mschile mschile merged commit 75eba1e into develop Mar 20, 2024
81 of 82 checks passed
@mschile mschile deleted the mschile/blur_fix branch March 20, 2024 16:54
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Mar 21, 2024

Released in 13.7.1.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.7.1, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants