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 inside of Stacklayout doesn't work at all #19290

Closed
prok155 opened this issue Dec 7, 2023 · 2 comments
Closed

Scrollview inside of Stacklayout doesn't work at all #19290

prok155 opened this issue Dec 7, 2023 · 2 comments
Labels
platform/android 🤖 t/bug Something isn't working

Comments

@prok155
Copy link

prok155 commented Dec 7, 2023

Description

When I create Scrollview inside of StackLayout, it doesn't render correctly and I can't even scroll it.

Steps to Reproduce

  1. Create following layout in your app:
   <StackLayout>
        <ScrollView>
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="1000"/>
                    <RowDefinition Height="800"/>
                    <RowDefinition Height="1200"/>
                </Grid.RowDefinitions>
                <Button Grid.Row="0" BackgroundColor="Yellow" Margin="15"/>
                <Button Grid.Row="1" BackgroundColor="Green" Margin="15"/>
                <Button Grid.Row="2" BackgroundColor="Pink" Margin="15"/>
            </Grid>
        </ScrollView>
    </StackLayout>
  1. You will see, that you can't scroll it and it doesn't render correctly.

Link to public reproduction project repository

No response

Version with bug

8.0.3

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android, I was not able test on other platforms

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@prok155 prok155 added the t/bug Something isn't working label Dec 7, 2023
@PureWeen
Copy link
Member

PureWeen commented Dec 7, 2023

This is by design @prok155

https://learn.microsoft.com/en-us/dotnet/maui/migration/layouts?view=net-maui-8.0#scrollview

@PureWeen PureWeen closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2023
@prok155
Copy link
Author

prok155 commented Dec 7, 2023

Thanks for quick answer. I'm migrating my app from Xamarin to .net Maui and now I see, that scrollview works a little differently.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/android 🤖 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants