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: android elevation issue #3617

Merged
merged 1 commit into from
Feb 6, 2023
Merged

fix: android elevation issue #3617

merged 1 commit into from
Feb 6, 2023

Conversation

tjaniczek
Copy link
Collaborator

Summary

In regards to #3467 this seems to fix the issue.

This seems to be an issue on how renderToHardwareTextureAndroid handles off-screen components. For some reason, upon navigation, we try to animate all previously visited screens - even the ones not visible at all. That's where the bug happens. We can mitigate it by allowing renderToHardwareTextureAndroid only on the focused screen.

Not sure if that's the proper way to address the issue so I'll be grateful for any feedback.

Test plan

The owner provided a repo to reproduce the issue: https://github.com/iM-GeeKy/shadows-bug

@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here.

@lukewalczak lukewalczak merged commit 6a863cd into main Feb 6, 2023
@lukewalczak lukewalczak deleted the fix-depth-bug-on-android branch February 6, 2023 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants