Stylianos Gakis
08/01/2022, 10:28 AMZoltan Demant
08/01/2022, 10:41 AMAndrey Kulikov
08/02/2022, 10:50 AMZoltan Demant
08/02/2022, 11:28 AMAndrey Kulikov
08/02/2022, 12:26 PMZoltan Demant
08/02/2022, 12:52 PMAndrey Kulikov
08/02/2022, 12:55 PMDoris Liu
08/02/2022, 11:31 PManimateItemPlacement
is probably being interrupted every frame because the animateContentSize
would grow input fields in size, consequently the placement target changes.
LookaheadLayout
will solve this problem by doing a lookahead pass using the post-animation sizes & positions, and thus allowing all layouts in LookaheadLayout
to observe their post-animation size and position. In the next major release, we'll make changes to animateContentSize
so that the target size is observable in the lookahead pass. In that case, animateItemPlacement
can rely on the (more stable) lookahead placement, rather than a per-frame current position, as animation target.