-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] [iOS] CollectionView does not bind to items if IsVisible=False
#13203
Comments
@rachelkang @dmariogatto same is happening with CarouselView. |
Hi,
|
Hi @AlleSchonWeg, the problem with those delays is that its length is dependent on the amount of content and the speed of the device. So what works on one device or collection won’t work on another, so I’d discourage from using one. |
Sure, |
same issue on stable release XF 5 (5.0.0.1874) |
This is a fatal regression, so is there any chance this could be fixed soon? Repros at #13126 (comment) and #13231, where the latter exposes more regressions related to this that would be great if were fixed at the same time. Thanks! |
Hi @rmarinho. I tested with the latest nightly build of XF and this issue still happens. Is the fix not in the nightly build yet? Thank you. |
@Tommigun1980 I think it was only just merged into 5.0. So probably not in the nightly yet. |
@dmariogatto It was committed four days ago to the 5.0.0 branch (c419953). I tested with the latest nightly again and it's not fixed. I have provided two different repro cases for this issue. @rmarinho @hartez Is the fix supposed to be in the latest nightly? Thank you. |
@Tommigun1980 @rmarinho @hartez @rachelkang Don't think this one is completely fixed for all scenarios, see #13551. |
@rmarinho Hi tested this against 5.0.0.1931 and this is still an issue as collectionView does not show the first time round. |
I am experiencing the same issue on version 4.8.0.1821. I have a CollectionView that has IsVisible set to false initially and the bound ItemSource is set. Then when IsVisible is set to true through binding nothing is displayed. My work around is to switch the CollectionView back to a ListView. |
i am also facing same issue, i also tried Listview but this issue still appearing on IOS , have you found any solution ? |
protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs changedProperty) this helped me` or a combination of |
I confirm that this is still happening on XF 5.0.0.2545 :( |
Description
Bind CollectionView to an item source while not visible (i.e.
IsVisible="False"
), then change visibility to true, no items in the list.Steps to Reproduce
Expected Behavior
Should should items after visibilty is changed to
true
.Actual Behavior
No items displayed.
Basic Information
Workaround
Can wrap CollectionView in a ContentView, and toggle the visibility on that instead.
Repro link
Repro: Issue13203.zip
The text was updated successfully, but these errors were encountered: