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

adds shadowdom support #327

Merged
merged 1 commit into from
Feb 18, 2021
Merged

adds shadowdom support #327

merged 1 commit into from
Feb 18, 2021

Conversation

willrpike
Copy link
Contributor

Summary

When you lookup activeElement on the document, it will return the shadowRoot element if the active element is inside a shadowDom. This change adds a common function that checks to see if the document.activeElement has a tuthy value for the shadowRoot property returns the activeElement of the shadowRoot if it does.

Testing

  • validated shadowdom text area
  • validated shadowdom input
  • validated normal input
  • validated normal text area

@aecreations aecreations merged commit a294772 into aecreations:master Feb 18, 2021
@willrpike willrpike deleted the patch-2 branch February 22, 2021 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants