Assigned
Status Update
Comments
co...@google.com <co...@google.com> #2
Tram, can you confirm that the behavior is correct if the modifier is moved to the composable inside the AnimatedPane?
No update yet.
Tram, can you confirm that the behavior is correct if the modifier is moved to the composable inside the AnimatedPane?
Description
If pane content is placed into an AnimatedPane, it takes up the full space available rather than its intrinsic size. Here's a very simple snippet:
This button will look like the attached animatedpane.png. If the AnimatedPane is replaced with a Box, then it renders correctly like in the attached box.png. If you use a
wrapContentSize
modifier to force the AnimatedPane to show the button at the expected size, the button will actually be centered instead of at the top left in LTR layouts.This is a subset of the problems mentioned in b/333615095 , so I broke it into a separate bug.