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

🐛Force scrollTop to be remeasured on shadow doc visibility change #26588

Merged

Conversation

kevinkimball
Copy link
Contributor

Fixes bug where scrollTop is not remeasured when a shadow doc becomes visible, preventing resource from loading until the user scolls (#11983)

@@ -228,6 +228,10 @@ export class ViewportImpl {
// the size has changed between `disconnect` and `connect`.
this.resize_();
}
if (this.scrollTop_) {

Choose a reason for hiding this comment

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

Can we add a brief comment describing this edge case?

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.

4 participants