Xamarincommunitytoolkit: [Bug] Sample doesn't show items for pages after WelcomePage

Created on 22 Nov 2020  路  7Comments  路  Source: xamarin/XamarinCommunityToolkit

Description

This happens just for UWP and WPF (so far).

Steps to Reproduce

  1. Target the sample app to UWP or WPF
  2. When the app is running click Views, Behavior, etc
  3. You will see an empty page

Expected Behavior

See the samples cards

Actual Behavior

I can't see the sample cards
image

image

Basic Information

  • Version with issue: main

Workaround

Change the CollectionView to ListView.

Reproduction imagery

Reproduction Link

sample-app bug up-for-grabs

Most helpful comment

https://github.com/xamarin/Xamarin.Forms/pull/11394 might fix this issue when merged...for uwp

All 7 comments

as for UWP you have to resize the app (as workaround)
as for WPF. it is XF issue. We use ControlTemplate and CollectionView which are not implemented in XF for WPF
as for GTK. similar to WPF. But I also updated PancakeView in my PR, which fixes build issue

https://github.com/xamarin/Xamarin.Forms/pull/11394 might fix this issue when merged...for uwp

So for now the workaround will be to not use ContentTemplates for the list pages.

XF 5.0.1 should fix it for WPF: https://github.com/xamarin/Xamarin.Forms/pull/7728

@VladislavAntonyuk, maybe this can take more time, it's a too old PR and is targeting the wrong branch there.

@pictos I am not sure, but I think you are a bit closer to the Xamarin Forms owners. It would be nice if you ping them to review the PR. Because mostly developers create apps for Android and iOS, it is less risky to break something by fixing this PR for WPF.

@VladislavAntonyuk sure, I'll ping them later today.

Was this page helpful?
0 / 5 - 0 ratings