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

CollectionView with vertical GridItemsLayout uses incorrect Span on Windows #14228

Open
chsoft-rbi opened this issue Mar 28, 2023 · 7 comments
Open
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@chsoft-rbi
Copy link

Description

In a CollectionView with a GridItemsLayout with Orientation vertical, the number of columns shown is one lower than Span on Windows, it's correct on Android.

Steps to Reproduce

  1. Open the Part 6 solution of the .NET MAUI Workshop project from https://github.com/dotnet-presentations/dotnet-maui-workshop
  2. In MainPage.xaml comment out the CollectionView.Items:Layout block from Line 35 to 37 and change the orientation to Vertical
  3. Run the project on Windows
  4. Click the "Get Monkeys" button
  5. There are only 2 columns instead of 3. If you run it on android, there are 3 columns as expected.

Link to public reproduction project repository

https://github.com/dotnet-presentations/dotnet-maui-workshop

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows 10 SDK 10.0.19041

Did you find any workaround?

No response

Relevant log output

No response

@chsoft-rbi chsoft-rbi added the t/bug Something isn't working label Mar 28, 2023
@jsuarezruiz jsuarezruiz added platform/windows 🪟 area-controls-collectionview CollectionView, CarouselView, IndicatorView labels Mar 28, 2023
@PureWeen PureWeen added this to the Backlog milestone Mar 29, 2023
@ghost
Copy link

ghost commented Mar 29, 2023

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jun 15, 2023
@Zhanglirong-Winnie
Copy link

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Can repro on windows platform with sample project.
dotnet-maui.zip
Screenshot 2023-06-15 140649

@Moonenm
Copy link

Moonenm commented Oct 10, 2023

Got the same issue. GridItemsLayout is always showing one less column than span. See image above. On Android it is working correctly. Only on Windows.

@MitchBomcanhao
Copy link

same issue here

@MitchBomcanhao
Copy link

still no movement? this is quite a bad issue - how can this be ignored for so long

@nagendrababu432
Copy link

We are also experiencing the same issue. Can someone from maui team provide an ETA when this will be resolved.

@MitchBomcanhao
Copy link

bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants