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

Expandable items in a StackLayout don't work properly on iOS #16150

Closed
L3oJr opened this issue Jul 13, 2023 · 7 comments
Closed

Expandable items in a StackLayout don't work properly on iOS #16150

L3oJr opened this issue Jul 13, 2023 · 7 comments
Labels
area-controls-scrollview ScrollView 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

Comments

@L3oJr
Copy link

L3oJr commented Jul 13, 2023

Description

On Android, expandable items in a StackLayout expand and collapse with no problem as shown below:
accordion-android

However, on iOS, the items don't expand and collapse properly, as shown below:
accordion-ios

Steps to Reproduce

Steps to reproduce:

  • Create a new .NET MAUI project or clone the reproduction project repository.
  • Run the app on iPhone Simulator.

I'm expect the items expand and collapse without problems, like on Android (as shown in the description).

But, actually, after expand some items the others don't expand or collapse correctly (as shown in the description).

Link to public reproduction project repository

https://github.com/L3oJr/maui-accordion-bug-reproduction

Version with bug

7.0.86

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 16.4

Did you find any workaround?

No response

Relevant log output

No response

@L3oJr L3oJr added the t/bug Something isn't working label Jul 13, 2023
@jsuarezruiz jsuarezruiz added area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter layout-stack labels Jul 14, 2023
@greg84
Copy link

greg84 commented Jul 15, 2023

Seems to be related to this issue: #14624

This workaround fixed it for me: #14624 (comment)

@L3oJr
Copy link
Author

L3oJr commented Jul 15, 2023

Seems to be related to this issue: #14624

This workaround fixed it for me: #14624 (comment)

Thanks @greg84! This workaround worked for me too!

@jsuarezruiz jsuarezruiz added area-controls-scrollview ScrollView platform/iOS 🍎 s/try-latest-version Please try to reproduce the potential issue on the latest public version labels Jul 17, 2023
@ghost
Copy link

ghost commented Jul 17, 2023

Hi @L3oJr. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.

You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@L3oJr
Copy link
Author

L3oJr commented Jul 24, 2023

Hi @L3oJr. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.

You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

Bug continues in MAUI 7.0.90 version.

@ghost ghost removed the s/try-latest-version Please try to reproduce the potential issue on the latest public version label Jul 24, 2023
@hartez
Copy link
Contributor

hartez commented Jul 26, 2023

Possibly fixed by #16385.

@L3oJr L3oJr changed the title Expandable items in a StackLayout don't work properly in iOS Expandable items in a StackLayout don't work properly on iOS Jul 27, 2023
@XamlTest XamlTest added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Aug 8, 2023
@XamlTest
Copy link

XamlTest commented Aug 8, 2023

Verified this on Visual Studio Enterprise 17.7.0 Preview 6.0. Repro on iOS 16.4(8.0.100-preview.6.23330.14), not repro on Windows 11 and Android 13.0-API33 with below Project:
AccordionTest.zip

@mattleibow
Copy link
Member

Confirmed this is fixed for .NET 7 and .NET 8

@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 2023
@Eilon Eilon removed the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label May 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-scrollview ScrollView 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

7 participants