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

ItemsWrapGrid is not supported with ItemsControl #4023

Open
5 of 19 tasks
takla21 opened this issue Sep 10, 2020 · 2 comments
Open
5 of 19 tasks

ItemsWrapGrid is not supported with ItemsControl #4023

takla21 opened this issue Sep 10, 2020 · 2 comments
Labels
difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding kind/bug Something isn't working project/items 🧾 Categorizes an issue or PR as relevant to items (ItemsControl, ItemsRepeater, ...) project/layout 🧱 Categorizes an issue or PR as relevant to layouting and containers (Measure/Arrange, Collections,..)

Comments

@takla21
Copy link
Contributor

takla21 commented Sep 10, 2020

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:

  • Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia

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

Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • macOS (Didn't test)
  • Skia (Didn't test)
    • WPF (Didn't test)
    • GTK (Linux) (Didn't test)
  • Windows
  • Build tasks
  • Solution Templates

IDE:

  • Visual Studio 2017 (version: )
  • Visual Studio 2019 (version: 16.6.2)
  • Visual Studio for Mac (version: )
  • Rider Windows (version: )
  • Rider macOS (version: )
  • Visual Studio Code (version: )

Relevant plugins:

  • Resharper (version: )

Anything else we need to know?

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

@takla21 takla21 added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Sep 10, 2020
@francoistanguay francoistanguay removed the triage/untriaged Indicates an issue requires triaging or verification label Sep 11, 2020
@davidjohnoliver
Copy link
Contributor

davidjohnoliver commented Sep 11, 2020

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.

@agneszitte agneszitte added the project/layout 🧱 Categorizes an issue or PR as relevant to layouting and containers (Measure/Arrange, Collections,..) label Sep 21, 2020
@jeromelaban jeromelaban added the difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. label Feb 15, 2021
@MartinZikmund MartinZikmund added difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding and removed difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Jun 2, 2021
@SuperJMN
Copy link
Contributor

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.

@MartinZikmund MartinZikmund changed the title ItemsWrapGrid is not supported with ItemsControl ItemsWrapGrid is not supported with ItemsControl Jun 14, 2023
@MartinZikmund MartinZikmund added the project/items 🧾 Categorizes an issue or PR as relevant to items (ItemsControl, ItemsRepeater, ...) label Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding kind/bug Something isn't working project/items 🧾 Categorizes an issue or PR as relevant to items (ItemsControl, ItemsRepeater, ...) project/layout 🧱 Categorizes an issue or PR as relevant to layouting and containers (Measure/Arrange, Collections,..)
Projects
None yet
Development

No branches or pull requests

7 participants