You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In FlashList v2, estimatedItemSize and the old height-estimation APIs were removed.
Since then I haven’t found a reliable way to restore the exact scroll Y-offset (or the same visual item position) when a screen is reopened — the list drifts by a few pixels after the new measurements settle.
Is this limitation directly related to the removal of the estimate system, or is there another recommended pattern to achieve pixel-perfect scroll position restoration in v2?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In FlashList v2, estimatedItemSize and the old height-estimation APIs were removed.
Since then I haven’t found a reliable way to restore the exact scroll Y-offset (or the same visual item position) when a screen is reopened — the list drifts by a few pixels after the new measurements settle.
Is this limitation directly related to the removal of the estimate system, or is there another recommended pattern to achieve pixel-perfect scroll position restoration in v2?
Any guidance would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions