When using a FlexLayout with a TemplateSelector, rendering of the items in the collection becomes corrupted when switching between different collections.
Displays each DataTemplate correctly
Display is corrupted with overlapping renderings of DataTemplates
Version with issue:
4.5.0.396
Last known good version:
4.4.0.991757
IDE: VS 2019 16.4.6


Downgrade to Xamarin.Forms 4.4
The second image is displaying correctly which occurs when first running. After clicking 'SWAP' button the first image is the result.
Also, I have tried:
Xamarin.Forms.Forms.SetFlags("UseLegacyRenderers");
global::Xamarin.Forms.Forms.Init();
But the problem still occurs.
This is a big problem because I need to release my App soon, and Apple is rejecting submissions because of the UIWebView issue, and the fix for that requires 4.5. Catch<->22
@NebulaSleuth Workaround is to set "HasShadow=false" for Frame in 4.5.x version. Problem is with Frame not with FlexLayout
@yurkinh Thanks it works.