Skip to content

Conversation

@gaearon
Copy link
Collaborator

@gaearon gaearon commented Feb 11, 2019

Fixes #14811. Thanks @KhodorAmmar for the repro case.

The bug is that we won't pop the portal if it had no children. So we shouldn't push its container either.

Copy link
Collaborator

@sophiebits sophiebits left a comment

Choose a reason for hiding this comment

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

More error-prone than I’d like, but I agree with your fix and don’t see a cleaner way to structure it.

@gaearon gaearon merged commit 1fecba9 into facebook:master Feb 11, 2019
@gaearon gaearon deleted the portal-bug branch February 11, 2019 18:40
This was referenced Sep 20, 2019
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