Closed Deepak1799 closed 1 year ago
Verified this issue with Visual Studio Enterprise 17.3.0 Preview 1.0 [32427.455.main]. Repro on Android. Sample Project: MauiApp5.zip
still an issue on android with 17.3.0 Preview 2.0 [32507.29.main].
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.
Verified this issue with Visual Studio Enterprise 17.6.0 Preview 2.0. Not repro on android emulator with above project. MauiApp5.zip
Hi @Deepak1799. 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.
Description
When adding child in ScrollView, the vertical layout options of the child (of child) is not working.
Steps to Reproduce
Code snippet: [Complete MainPage.xaml]
Where you can see the Vertical options of the Image is "Center". However if you run the sample, the image will be aligned vertically at the "top" of the Grid.
Screenshot
Note: For showing difference, I have used background colors for the controls.
Version with bug
Release Candidate 2 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 9.0
Did you find any workaround?
NOTE: The below information is not a workaround. But may be useful for the analysis.
This issue occurs due to the Foremost parent is a Scroll View. If we removed the Scroll View and just placing a grid, the vertical option was proper. Please try the below code snippet.
Code: [Complete MainPage.Xaml]
Screenshot
Relevant log output