-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 scrolling in <ScrollView Orientation="Both"> not working #7811
Comments
Some deadline for this fix? Some workarround? |
Today i also find it, dont' work at Android, work at Windows. sharex-20220905092632.mp4 |
I encountered this issue when trying to present tabular data in my application. I had to use ScrollView with Orientation property set to "Both" (So users can see the all data).
I am developing the UI without XAML. So I can only give an example in C#. var scrY = new ScrollView();
scrY.Orientation = ScrollOrientation.Vertical;
var scrX = new ScrollView();
scrX.Orientation = ScrollOrientation.Horizontal;
scrX.Parent = scrY;
scrY.Content = scrX;
var table = new VerticalStackLayout();
table.Parent = scrY;
scrX.Content = table; I am using VerticalStackLayout as content. I didn't test it using XAML but i guess it will be okay. Note: I only tested in Android Emulator. Idk if it is working on windows or ios or any other platform. scrollViewTest.mp4 |
Any update ? |
I doubt that there will be any :) I have moved my project to Android Studio / Kotlin, so now I know, that MAUI controls are wrappers around native Android controls with the same names, and the Android's ScrollView ir the one having the issue. If the developers of MAUI create a workaround using a combination of another controls, it will have another issues for sure. |
But it works in xamarin forms, so surely it can be fixed in maui... |
met the same problme, but what is that "workaround"? |
Discussed in #7796
Originally posted by usa- June 6, 2022
I start VS 2022 version 17.3.0 preview 1.1 (the latest one).
I create a new “.NET MAUI App” project.
In the MainPage.xaml file, I change the code inside the ContentPage element to the following:
In the code-behind file, MainPage.xaml.cs, I delete the OnCounterClicked function.
In the debug destination drop-down list, I select the Android Emulator.
I run the application.
Expected behavior: I am able to scroll the image both vertically and horizontally.
Actual behavior: I am able to scroll the image only horizontally.
The text was updated successfully, but these errors were encountered: