It seems that the new shared element support in Co...
# compose-android
t
It seems that the new shared element support in Compose does not function with
Dialog
. Are there any plans to address this issue?
i
You mean, within a Dialog? Or between a Dialog and content outside the Dialog?
t
Between a Dialog and the content outside the Dialog.
j
Interesting, I did see minor mention in release notes about shared element. Is this sampled somewhere?
z
Cc @Doris Liu
d
What error do you see? Please feel free to file a feature request.
Interesting, I did see minor mention in release notes about shared element. Is this sampled somewhere?
https://developer.android.com/reference/kotlin/androidx/compose/animation/SharedTransitionScope
thank you color 1
t
I got this error:
d
That's because the Dialog is in a separate window. The local position calculation doesn't work well for multiple windows yet. Please file a feature request. In the meantime, I'd recommend creating a full screen composable to imitate a Dialog for shared element. Something like: https://twitter.com/Snokbert/status/1776919708119203939
👍 3