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

Vertical Stack Layout compressed in a CollectionView in IOS and MacCatalyst #14200

Open
pschubert777 opened this issue Mar 25, 2023 · 2 comments
Labels
area-controls-border Border area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter layout-stack platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@pschubert777
Copy link

Description

When adding a vertical stack layout inside a collection view in IOS and MacCatalyst, it seems to have a fixed size that does not adjust vertically based on the text when with RequestedWidth is fixed. Also, the background seems to be dark background, even though I have not added any change in the background.

This is not a problem in Android however.

MacCatalyst

Screen Shot 2023-03-24 at 10 36 35 PM

IOS - IPhone SE 3rd Gen IOS 15.4

Screen Shot 2023-03-24 at 10 34 15 PM

Android - Pixel 5 API 31

Screen Shot 2023-03-24 at 10 29 47 PM

Steps to Reproduce

  1. Create a File > New Maui App
  2. In MaingPage.Xaml.cs, create an observable Collection
  3. In the MainPage.Xaml, create a collection view that sets the observable collection as the ItemSource
  4. Inside the collection view DataTemplate, create a VerticalStackLayout

Link to public reproduction project repository

https://github.com/pschubert777/CellBoutiqueHorizontalVerticalLayout

Version with bug

7.0 (current)

Last version that worked well

7.0 (current)

Affected platforms

iOS, macOS

Affected platform versions

IOS 16.2/15.4, MacOS 12.5.1

Did you find any workaround?

No

Relevant log output

No response

@pschubert777 pschubert777 added the t/bug Something isn't working label Mar 25, 2023
@jsuarezruiz jsuarezruiz added area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter layout-stack platform/iOS 🍎 labels Mar 27, 2023
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Mar 27, 2023
@ghost
Copy link

ghost commented Mar 27, 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.

@ghost ghost added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Mar 27, 2023
@Zhanglirong-Winnie Zhanglirong-Winnie added s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage labels Jun 15, 2023
@Zhanglirong-Winnie
Copy link

Verified this issue with Visual Studio Enterprise 17.6 Preview(17.6.0.1539). Can repro on macOS and iOS platform with sample project. Android works fine.
CellBoutique.zip
Screenshot 2023-06-15 155034
Screenshot 2023-06-15 155250

@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-border Border area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter layout-stack platform/iOS 🍎 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

4 participants