You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 350e598
Browse filesBrowse the repository at this point in the historyBrowse files
fix(document-injection): Update to use injected document (#18780)
* fix(document-injection): Update to use injected document
Update several classes in Material and the CDK to reference
the injected document instead of accessing the global document
and window variables. This fixes use-cases where the document
is dynamically provided. This change follows the pattern used
in several other places such as the Cdk OverlayContainer.
* fix(document-injection): Update to use injected document
Utilize private functions for _getWindow() and _getDocument()
instead of using public getters.
* fix(document-injection): Update to use injected document
Update golden files to reflect API changes.
(cherry picked from commit 204db56)
0 commit comments