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

Scrollview control not working properly in .Net MAUI (Android) #8427

Closed
divyesh008 opened this issue Jun 29, 2022 · 4 comments
Closed

Scrollview control not working properly in .Net MAUI (Android) #8427

divyesh008 opened this issue Jun 29, 2022 · 4 comments
Labels
area-controls-scrollview ScrollView platform/android 🤖 s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version t/bug Something isn't working
Milestone

Comments

@divyesh008
Copy link

divyesh008 commented Jun 29, 2022

Description

I have created custom tab control using ScrollView control and Bindable StackLayout control.

I first created this solution in Xamarin.Forms (VS for Mac 2019) and works fine on both platforms, but the same solution when developed in .Net MAUI (VS for Mac 2022 Prev) it's not working properly in Android.

Details available here:

https://stackoverflow.com/questions/72804245/scrollview-control-not-working-properly-in-net-maui-android

Steps to Reproduce

https://github.com/divyesh008/Maui_sample

1 Create a new Maui project, and in MainPage.XAML takes a scroll view with Horizontal orientation and inside that take a Bindable StackLayout.

2 After scroll view end tag add subviews that you want to display as a tab.

3 In ViewModel write a logic to change the tab view and Maintain bool flags to show/hide relevant views.

4 Run the project in Android and try to change the tab it will display a blank screen, then if you close the app by pressing the hardware back button and open it again it will show the selected tab properly.

Version with bug

6.0.312

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 10, 11 and above

Did you find any workaround?

No, I have tried different work arounds but none of them worked.

Relevant log output

No response

@divyesh008 divyesh008 added s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working labels Jun 29, 2022
@Eilon Eilon added the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label Jun 29, 2022
@rachelkang rachelkang added platform/android 🤖 and removed s/needs-verification Indicates that this issue needs initial verification before further triage will happen labels Jun 29, 2022
@kristinx0211 kristinx0211 added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jun 30, 2022
@kristinx0211
Copy link

verified repro on android 11 with above project.

@rachelkang rachelkang added this to the 6.0-servicing milestone Jun 30, 2022
@Redth Redth modified the milestones: 6.0-servicing, Backlog Aug 30, 2022
@ghost
Copy link

ghost commented Aug 30, 2022

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@hartez hartez added the area-controls-scrollview ScrollView label Oct 9, 2022
@samhouts samhouts removed s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Apr 5, 2023
@jinxinjuan jinxinjuan added s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version labels May 15, 2023
@ghost
Copy link

ghost commented May 16, 2023

Hi @divyesh008. 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.

@jinxinjuan
Copy link
Collaborator

Verified this issue with Visual Studio Enterprise 17.6.0 Preview 7.0. Not repro on Android platform with project.
Maui_sample

@ghost ghost closed this as completed May 23, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Jun 22, 2023
@Eilon Eilon removed the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label May 14, 2024
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-scrollview ScrollView platform/android 🤖 s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants