fix(cdk/scrolling): Fix undefined error when documentElement.style is undefined - #31904
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
adolgachev
left a comment
There was a problem hiding this comment.
Please rebase to a single commit.
Done. |
adolgachev
left a comment
There was a problem hiding this comment.
See linting error: commit and PR should use a valid component label: (cdk/scrolling) in this case.
Thanks! Updated the label |
|
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. |
Currently angular has a side effect which checks for scrollbehavior on module load. This is throwing an exception in our chrome extension content script when running on an xml page when style are undefined
Added a null check to make sure undefined exception is not thrown
