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

Updating critical packages; Setting up CI; Fixing for Web Components #8

Merged
merged 10 commits into from
Sep 13, 2024

Conversation

stevematney
Copy link
Collaborator

PR Requirements

  • The action code does not contain sensitive information.

@im-pipeline-bot
Copy link
Collaborator

This PR is part of this prerelease version for testing: 5.1.3-fix-web-components-7261976.1
You can test it by using:

npm install @im-open/react-text-mask@im-open/react-text-mask

@im-pipeline-bot
Copy link
Collaborator

This PR is part of this prerelease version for testing: 5.4.4-fix-web-components-7261976.1
You can test it by using:

npm install @im-open/react-text-mask@im-open/react-text-mask

@im-pipeline-bot
Copy link
Collaborator

This PR is part of this prerelease version for testing: 5.1.3-fix-web-components-d489cab.1
You can test it by using:

npm install @im-open/text-mask-core@fix-web-components

@im-pipeline-bot
Copy link
Collaborator

This PR is part of this prerelease version for testing: 5.4.4-fix-web-components-d489cab.1
You can test it by using:

npm install @im-open/react-text-mask@fix-web-components

@im-pipeline-bot
Copy link
Collaborator

This PR is part of this prerelease version on @im-open/text-mask-core for testing: 5.1.3-fix-web-components-261017e.1
You can test it by using:

npm install @im-open/text-mask-core@fix-web-components

@im-pipeline-bot
Copy link
Collaborator

This PR is part of this prerelease version on @im-open/react-text-mask for testing: 5.4.4-fix-web-components-261017e.1
You can test it by using:

npm install @im-open/react-text-mask@fix-web-components

@im-pipeline-bot
Copy link
Collaborator

This PR is part of this prerelease version on @im-open/text-mask-core for testing: 5.1.3-fix-web-components-06ca88e.1
You can test it by using:

npm install @im-open/text-mask-core@fix-web-components

@im-pipeline-bot
Copy link
Collaborator

This PR is part of this prerelease version on @im-open/react-text-mask for testing: 5.4.4-fix-web-components-06ca88e.1
You can test it by using:

npm install @im-open/react-text-mask@fix-web-components

@im-pipeline-bot
Copy link
Collaborator

This PR is part of this prerelease version on @im-open/text-mask-core for testing: 5.1.3-fix-web-components-64d0b9f.1
You can test it by using:

npm install @im-open/text-mask-core@fix-web-components

@im-pipeline-bot
Copy link
Collaborator

This PR is part of this prerelease version on @im-open/react-text-mask for testing: 5.4.4-fix-web-components-64d0b9f.1
You can test it by using:

npm install @im-open/react-text-mask@fix-web-components

}

function safeSetSelection(element, selectionPosition) {
if (document.activeElement === element) {
if (getActiveElement() === element) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

document.activeElement will return only the outer element of a Web Component. We have to dig all the way down to find the actual active element.

@stevematney
Copy link
Collaborator Author

Mario's review is valid. Going to bypass requirements and merge.

@stevematney stevematney merged commit 9f45b25 into main Sep 13, 2024
2 checks passed
@stevematney stevematney deleted the fix-web-components branch September 13, 2024 20:28
@im-pipeline-bot
Copy link
Collaborator

🎉 This PR is included in version 5.1.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@im-pipeline-bot
Copy link
Collaborator

🎉 This PR is included in version 5.4.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

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