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 }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
I had to update the Xamarin.Forms NuGet as I was experiencing the same issue in the above link when building for iOS with the latest XCode version. The latest version resolved the tabbar colour issue, however, in doing so I seem to have experienced a new issue with white font / invisible components within a CollectionView
Steps to Reproduce
Create a CollectionView and bind to an ObservableCollection of Items. with Xamarin.Forms 4.8.0.1821 and deploy to iOS 15.0 simulator - observe the correct appearance where in the below the font is readable and Items are readable. I use the below for an as-you-type list of Items populating a view.
Upgrade the Xamarin.Forms NuGet to 5.0.0.2196 and build & deploy. Now no items are readable in the collectionview as the font is somehow white on a white background. As mentioned I use this for an as-you-type search result so I know there are Items in the view as the height of the Collection looks about correct - just the labels are not readable.
Downgrade the nuget again and it works fine.
Expected Behavior
The items within the collectionview should not change appearance when the Xamarin.Forms nuget is upgraded. This only affects iOS. The UI in Android looks the same between versions
Actual Behavior
Xamarin.Forms version 5.x changes the appearance of the labels within the CollectionView (white font on a white background)
Basic Information
Version with issue: Xamarin.Forms 5.0.0.2196
Last known good version: Xamarin.Forms 4.8.0.1821
Platform Target Frameworks:
iOS: 15.0
Android: 9.0
NuGet Packages: Xamarin.Forms 5.0.0.2196
Environment
Same issue with both Visual Studio for Mac and Visual Studio on Windows - I have tried both
Build Logs
Screenshots
Cannot provide a screenshot but in XF 5.x its just a white collectionview. In the unaffected version, it is labels within the collectionview of black font on a white background. Android has has the correct appearance in both versions, iOS has the issue.
Reproduction Link
Workaround
No workaround so far
The text was updated successfully, but these errors were encountered:
[Assert] negative or zero item sizes are not supported in the flow layout
A little more debugging and this is the message in the application output of the iOS simulator. No problems at all with the same code in the Android sim.
Description
This could be related to: #14755 & #13323
I had to update the Xamarin.Forms NuGet as I was experiencing the same issue in the above link when building for iOS with the latest XCode version. The latest version resolved the tabbar colour issue, however, in doing so I seem to have experienced a new issue with white font / invisible components within a CollectionView
Steps to Reproduce
Upgrade the Xamarin.Forms NuGet to 5.0.0.2196 and build & deploy. Now no items are readable in the collectionview as the font is somehow white on a white background. As mentioned I use this for an as-you-type search result so I know there are Items in the view as the height of the Collection looks about correct - just the labels are not readable.
Downgrade the nuget again and it works fine.
Expected Behavior
The items within the collectionview should not change appearance when the Xamarin.Forms nuget is upgraded. This only affects iOS. The UI in Android looks the same between versions
Actual Behavior
Xamarin.Forms version 5.x changes the appearance of the labels within the CollectionView (white font on a white background)
Basic Information
Environment
Same issue with both Visual Studio for Mac and Visual Studio on Windows - I have tried both
Build Logs
Screenshots
Cannot provide a screenshot but in XF 5.x its just a white collectionview. In the unaffected version, it is labels within the collectionview of black font on a white background. Android has has the correct appearance in both versions, iOS has the issue.
Reproduction Link
Workaround
No workaround so far
The text was updated successfully, but these errors were encountered: