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 problem with overlapping views #2438

Merged
merged 2 commits into from
Sep 20, 2021
Merged

Fix problem with overlapping views #2438

merged 2 commits into from
Sep 20, 2021

Conversation

Szymon20000
Copy link
Contributor

@Szymon20000 Szymon20000 commented Sep 20, 2021

Description

Fixes: #2432
Currently, we schedule leftover elements removal to avoid traversing the whole view tree every time onViewRemoval is called. However, with the current approach, it's possible that we remove elements on the next frame that should be removed instantly. To fix the problem I added an additional synchronous call of the removedLeftovers method as the last operation of a UI operation block.

Copy link
Member

@piaskowyk piaskowyk left a comment

Choose a reason for hiding this comment

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

🚀

@piaskowyk piaskowyk merged commit 6cbb524 into master Sep 20, 2021
@piaskowyk piaskowyk deleted the @szymon/overlapping branch September 20, 2021 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants