Skip to content

fix: fixing issue with blurring shadow dom elements - #29125

Merged
mschile merged 6 commits into
developfrom
mschile/blur_fix
Mar 20, 2024
Merged

fix: fixing issue with blurring shadow dom elements#29125
mschile merged 6 commits into
developfrom
mschile/blur_fix

Conversation

@mschile

@mschile mschile commented Mar 12, 2024

Copy link
Copy Markdown
Collaborator
  • 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

@cypress

cypress Bot commented Mar 12, 2024

Copy link
Copy Markdown

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 requested a review from ryanthemanuel March 18, 2024 15:16
@mschile
mschile merged commit 75eba1e into develop Mar 20, 2024
@mschile
mschile deleted the mschile/blur_fix branch March 20, 2024 16:54
@cypress-bot

cypress-bot Bot commented Mar 21, 2024

Copy link
Copy Markdown
Contributor

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.

4 participants