Fixed
Status Update
Comments
an...@google.com <an...@google.com>
ap...@google.com <ap...@google.com> #2
We have some support in androidx.compose.ui.autofill
Leaving this bug open in case Ralston wants to add more info
Description
It seems that onGloballyPositioned always requests remeasurement on recomposition.
When setting a new modifier we are doing:
and here
addedCallback
will always be true, becauseModifier.onGloballyPositioned
is always creating a new object on recomposition. Fixing this might require an API change asonGloballyPositioned
is currently inline, so we cannot use the lambda instance to check for modifier equality across recomposition.