Can't Repro
Status Update
Comments
ti...@google.com <ti...@google.com> #2
Can you try with the latest snapshot? Not reproducible for me on androidx-main.
ri...@google.com <ri...@google.com> #3
Ok, after trying a couple more versions, realized this is a duplicate of
From the release notes:
AndroidView's update callback's first invocation will now be defered until the view is attached, instead of running when the composition that introduces the AndroidView is applied. This fixes a bug where the update callback wouldn't be invalidated if a state it read was changed immediately by an effect. (Ie9438,
) b/291094055
Sorry for the confusion!
Description
When using
Modifier.animateBounds
without wrapping content in aLookaheadScope
, the following crash occurs. I don't think it should crash, I think it should just not animate, or give a better error message to say that aLookaheadScope
is required.Stack trace: