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
Andrey Kulikov
01/22/2021, 2:02 PM
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
Logan Knight
01/22/2021, 3:38 PM
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.