-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(progress-spinner): non-default diameter indeterminate animation not working inside Shadow DOM #16177
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(progress-spinner): non-default diameter indeterminate animation not working inside Shadow DOM #16177
Conversation
fab4566
to
9e8a2f7
Compare
@crisbeto Can you rebase when you have a chance? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ot working inside Shadow DOM Fixes animating a progress spinner with a non-default diameter in indeterminate mode not working if the element is inside of a shadow root. The issue is that we always add the `style` tag with the animation to the `document.head` which doesn't pierce through the Shadow DOM. Fixes angular#16172.
9e8a2f7
to
d05d9ca
Compare
Rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ot working inside Shadow DOM (#16177)
…ot working inside Shadow DOM (angular#16177)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fixes animating a progress spinner with a non-default diameter in indeterminate mode not working if the element is inside of a shadow root. The issue is that we always add the
style
tag with the animation to thedocument.head
which doesn't pierce through the Shadow DOM.Also adds a some more test coverage for the
style
tag insertion logic.Fixes #16172.