Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS CollectionView thows exception when adding items to an ObservableCollection #3514

Closed
mattleibow opened this issue Nov 22, 2021 · 1 comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/iOS 🍎 platform/macOS 🍏 macOS / Mac Catalyst s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@mattleibow
Copy link
Member

Description

Throws an exception saying that it added an item but there was no item added.

Steps to Reproduce

TODO. sorry - afk

I'll update. but just in case.

Version with bug

Preview 10 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 15

Did you find any workaround?

I found there was no issue setting an entire new list and raising the property changed.

Relevant log output

No response

@mattleibow mattleibow added t/bug Something isn't working platform/macOS 🍏 macOS / Mac Catalyst platform/iOS 🍎 area-controls-collectionview CollectionView, CarouselView, IndicatorView labels Nov 22, 2021
mattleibow added a commit that referenced this issue Nov 22, 2021
Collecitonview throws when inserting items, so just replace the entire list for now
mattleibow added a commit that referenced this issue Nov 23, 2021
Collecitonview throws when inserting items, so just replace the entire list for now
ionixjunior added a commit to ionixjunior/SoundCloudClone that referenced this issue Dec 18, 2021
Este é um problema conhecido e o workaround foi citado neste issue dotnet/maui#3514.
@PureWeen PureWeen added the fatal label Jan 5, 2022
@kristinx0211 kristinx0211 added the s/verified Verified / Reproducible Issue ready for Engineering Triage label Mar 2, 2022
@kristinx0211
Copy link

Not repro on iPhone 13 pro max 15.2, no exception throws when adding items to an ObservableCollection. repro sample:
3514.zip

@ghost ghost locked as resolved and limited conversation to collaborators Apr 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/iOS 🍎 platform/macOS 🍏 macOS / Mac Catalyst s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants