This repository has been archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] [iOS] CollectionView - blank spaces beetween items on updating list when items has different heights #11511
Labels
Comments
I experience that, too. It's quite annoying bug |
In the example you haven't got ItemSizingStrategy="MeasureAllItems" set, the default behaviour is to measure the first item and use that size for all items. |
@DuncWatts MeasureAllItems is a default value for ItemSizingStrategy, so it not make any difference if I set it explicitly https://docs.microsoft.com/pl-pl/dotnet/api/xamarin.forms.itemsizingstrategy?view=xamarin-forms |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This is fixed in 5.0.0.1931. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There some blank spaces appears between items on CollectionView on iOS if items has different heights. Best way to show these spaces is updating the list, for example inserting new item at the top. This problem occurs only on iOS, works fine on Android.
Steps to Reproduce
Expected Behavior
These blank spaces should not appears after inserting new item to list, like on image below:
Actual Behavior
Blank spaces appears after inserting new item to list. Look how it looks on image below:
Additional comments
Besides, CollectionView doesn't scroll smoothly, when you try to implement pagination on your list and if items on this list have different heights you can observe that list is jumping a bit, it should stay on same scrolling position. Look at video below:
https://streamable.com/b4tsmv
Basic Information
Reproduction Link
https://github.com/mariaszek9003/XamarinFormsCollectionViewTest
The text was updated successfully, but these errors were encountered: