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

Fix renderHeight being undefined #165373

Merged
merged 3 commits into from
Nov 3, 2022
Merged

Fix renderHeight being undefined #165373

merged 3 commits into from
Nov 3, 2022

Conversation

lramos15
Copy link
Member

@lramos15 lramos15 commented Nov 3, 2022

Fixes #165343

Not sure if there was a cahnge recently to optimize how we render views, but seems like renderBody now doesn't get called if a view is collapsed meaning the tree stays undefined. This wasn't caught because the tree is non-null asserted. I didn't change that, but I do catch the case when we try to render without a tree.

@lramos15 lramos15 enabled auto-merge (squash) November 3, 2022 14:32
@lramos15 lramos15 self-assigned this Nov 3, 2022
@lramos15 lramos15 added this to the November 2022 milestone Nov 3, 2022
@lramos15 lramos15 merged commit 8b79a00 into main Nov 3, 2022
@lramos15 lramos15 deleted the lramos15/unable-mongoose branch November 3, 2022 16:35
@github-actions github-actions bot locked and limited conversation to collaborators Dec 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot read properties of undefined (reading 'renderHeight')
2 participants