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
{{ message }}
Repository navigation
RenderSliverFixedExtentBoxAdaptor.performLayout is not working correctly #30526
Rounding error will cause the firstIndex to be off by 1.
getMinChildIndexForScrollOffset will sometimes return 2.9999999 or 1.999999999 which will be floor down to 2 or 1. This cause the layout try to create one additional child before the correct first child. This additional child will later be disposed since it later detects this child is no longer needed.
LeadingGarbage and trailingGarbage is not calculated correctly in the case of jump or reordering.
ex: childList (0) -> (1) -> (5)
If targetLastIndex = 0, the trailingGarbage will be (5 - 0).clamp(0,3) = 3, where the correct trailingGarbage should be 2.
This will constantly remove the entire childList and later figures out it need to re-populate it back. Same thing for leadingGarbase.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
github-actions commentedon Aug 29, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.