Is there an obvious way to make sure my animated c...
# compose
n
Is there an obvious way to make sure my animated composable passes over another composable rather than beneath it? Or do I need to rethink my app structure? To be clearer, the composables are currently positioned as a column.
f
Maybe
zIndex
could help 🤔 But only if it's in the same scope as the other composable
n
I don't know, it is two composables placed as a column.
I guess I need to stack them.
f
If you mean that both composables are in the same column
Copy code
Column {
    ComponentA()
    ComponentB()
}
than yes, you can control the draw order by using
zIndex
modifier.
🙏 1
n
Oh ok, thanks for this I didn't realize! 😊
👌 1