Haze Doesn't Animate Properly in a Shared Transition
When trying to do a shared transition with a card that has Haze applied, the effect switches to a solid color for the duration of the transition.
Expected Behavior
It should animate along with any content.
Actual Behavior
https://github.com/user-attachments/assets/f35b5abf-83d2-478a-bc54-4e93dd10b439
There's likely to be very little we can do about this.
Please provide a reproducible sample, as I don't really have time to setup a sample for this right now.
I believe this is due to how the Shared Element Transition works in Jetpack Compose. It creates an overlay with a copy of the target composable, and something is going wrong there.
Yeah, without a working reproducer project, it’s hard to say.
When trying to do a shared transition with a card that has Haze applied, the effect switches to a solid color for the duration of the transition.
Expected Behavior
It should animate along with any content.
Actual Behavior
screen-20250328-083426.mp4
I'm having the same problem. Did you find a solution for this problem?