unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
https://platform.uno
Apache License 2.0
8.91k stars 722 forks source link

`ItemsWrapGrid` is not supported with `ItemsControl` #4023

Open takla21 opened 4 years ago

takla21 commented 4 years ago

Current behavior

When we use an itemsWrapGrid inside the ItemsPanelTemplate, we only see the first item on all plateforms android

Expected behavior

We should be able to see all items. uwp

How to reproduce it (as minimally and precisely as possible)

Download sample ItemsWrapGrid.zip Deploy on any heads (Android, iOS or Wasm)

Workaround

Use a GridView in place of ItemsControl

Environment

Nuget Package:

Nuget Package Version(s): 3.1.0-dev.274

Affected platform(s):

IDE:

Relevant plugins:

Anything else we need to know?

I've created another issue for wasm, because the result is worse #4025

davidjohnoliver commented 4 years ago

At the moment ItemsWrapGrid along with ItemsWrapPanel is only supported on Uno when used as the ItemsPanel of a ListViewBase type (eg ListView or GridView). The workaround then is to use a GridView in place of an ItemsControl.

SuperJMN commented 3 years ago

At the moment ItemsWrapGrid along with ItemsWrapPanel is only supported on Uno when used as the ItemsPanel of a ListViewBase type (eg ListView or GridView). The workaround then is to use a GridView in place of an ItemsControl.

I think GridView isn't working for Skia.Wpf.