Tgo1014
03/22/2022, 3:18 PMwrapContentWidth()
to fillMaxWidth()
without using animateContentSize()
? When I use this modifier it clips the elevation shadow 😕f.babic
03/22/2022, 3:31 PMTgo1014
03/22/2022, 3:33 PMf.babic
03/22/2022, 3:38 PMTgo1014
03/22/2022, 3:40 PMBoxWithContraints
already give the size if I remember it rightf.babic
03/22/2022, 3:43 PMDoris Liu
03/22/2022, 7:24 PManimateContentSize
modifier on the child of the Surface
. If you put the modifier directly on the surface, it clips the Surface, along with the shadow. Setting the modifier on a child should work.