From the docs over the `Surface` dec: `Elevation...
# compose
l
From the docs over the
Surface
dec:
Elevation: Surface elevates its children on the Z axis by elevation pixels, and draws the appropriate shadow.
Does that mean that the
Surface
sets the
Modifier.zIndex()
value of all it's children?
a
this doc is actually a bit outdated. previously Surface was using the given elevation both as a shadow size and as zIndex. now we removed the auto passing it as a zIndex()
l
Thank you for the response the context of this question is my previous one which you responded to as well. I'll ask my follow ups there.