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 Content cannot scroll inside Grid #12236

Closed
omegazero2310 opened this issue Dec 21, 2022 · 3 comments
Closed

ScrollView Content cannot scroll inside Grid #12236

omegazero2310 opened this issue Dec 21, 2022 · 3 comments
Labels
area-controls-scrollview ScrollView platform/android 🤖 s/needs-info Issue needs more info from the author t/bug Something isn't working

Comments

@omegazero2310
Copy link

Description

When I put ScrollView inside Grid with 2 rows or more, Content inside ScrollView is fixed and cannot be scrolled (VerticalScrollBar is not visible indicating there is no more content to start scrolling, but there is more view to show)

Steps to Reproduce

  1. Create New MAUI Project
  2. Inside MainPage.xaml , add a new Grid with properties: HorizontalOptions="FillAndExpand", RowDefinitions="80, Auto", VerticalOptions="FillAndExpand"
  3. Add the first View with Grid.Row="0"
  4. Add ScrollView with Grid.Row="1" and properties: HorizontalOptions="FillAndExpand", VerticalOptions="FillAndExpand"
  5. Inside ScrollView add VerticalStackLayout
  6. Inside VerticalStackLayout add multiple Views to increase the content size to trigger scrolling

Link to public reproduction project repository

https://github.com/omegazero2310/MauiScrollViewBug

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android, I was not able test on other platforms

Affected platform versions

Android 13

Did you find any workaround?

No

Relevant log output

No response

@omegazero2310 omegazero2310 added the t/bug Something isn't working label Dec 21, 2022
@Eilon Eilon added the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label Dec 21, 2022
@hartez
Copy link
Contributor

hartez commented Dec 27, 2022

RowDefinitions="80, Auto"

Change this to RowDefinitions="80, *".

@PureWeen PureWeen added the s/needs-info Issue needs more info from the author label Mar 2, 2023
@ghost
Copy link

ghost commented Mar 2, 2023

Hi @omegazero2310. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. 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.

@ghost ghost added the s/no-recent-activity Issue has had no recent activity label Mar 6, 2023
@ghost
Copy link

ghost commented Mar 6, 2023

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@ghost ghost closed this as completed Mar 9, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Apr 8, 2023
@ghost ghost removed the s/no-recent-activity Issue has had no recent activity label Feb 2, 2024
@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/needs-info Issue needs more info from the author t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants