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

[regression/8.0.3] Scrollview scrolling does not work in MAC and iOS platforms #19005

Closed
jeya-kasipandi opened this issue Nov 24, 2023 · 3 comments
Labels
area-controls-scrollview ScrollView platform/iOS 🍎 potential-regression This issue described a possible regression on a currently supported version., verification pending 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

Comments

@jeya-kasipandi
Copy link

jeya-kasipandi commented Nov 24, 2023

Description

Scrollview scrolling not works properly in.NET 8 and it works correctly in .NET 7. Horizontal stack layout added as the content of scroll view when adding items to the horizontal stack layout, not able to scroll to the newly added last item and also scrolling to the first item there is some space occur. This issue is reproduced on MAC and iOS platforms.

Steps to Reproduce

  1. Run the sample from the below link
    https://github.com/jeya-kasipandi/ScrollviewIssue/tree/main/scrollviewissue
  2. Click the button to add a child inside the horizontal stack layout.
  3. Now scroll the scroll view to the newly added last item.
  4. See the output
    Not able to scroll to the end of the newly added item.
    If scroll to the first item, the scroll view is shown with some space.
    Attached video for your reference.
    MAC
    https://github.com/dotnet/maui/assets/92785406/bdaeb1b2-c50d-4ed8-a80c-882ce9f2a3fa
    iOS
    https://github.com/dotnet/maui/assets/92785406/b1ca7e1e-d8ae-409b-9b19-828e8ba561fa

Link to public reproduction project repository

No response

Version with bug

8.0.3

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

7.0.101

Affected platforms

iOS, macOS

Affected platform versions

iOS 17.0

Did you find any workaround?

No response

Relevant log output

No response

@jeya-kasipandi jeya-kasipandi added the t/bug Something isn't working label Nov 24, 2023
@jeya-kasipandi
Copy link
Author

Please give high priority to this issue

@jsuarezruiz jsuarezruiz added platform/iOS 🍎 area-controls-scrollview ScrollView potential-regression This issue described a possible regression on a currently supported version., verification pending labels Nov 24, 2023
@Eilon Eilon added the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label Nov 28, 2023
@samhouts samhouts changed the title Scrollview scrolling not works after updating .NET 8 in MAC and iOS platforms [regression/8.0.3] Scrollview scrolling does not work in MAC and iOS platforms Dec 7, 2023
@Ahamed-Ali
Copy link

Ahamed-Ali commented Jan 11, 2024

This issue occurs on Android and windows also . please refer to the reproducing code below
<StackLayout > <ScrollView Orientation="Vertical"> <StackLayout> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> <Entry HeightRequest="200" BackgroundColor="Red"/> </StackLayout> </ScrollView> </StackLayout>

@jaosnz-rep
Copy link
Collaborator

jaosnz-rep commented Mar 7, 2024

Verified this issue with Visual Studio for Mac 17.6.9 build 415 (maui version 8.0.6), not repro on .NET 8 iOS platform with sample project.
Notrepro

@jaosnz-rep jaosnz-rep added s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version labels Mar 7, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 14, 2024
@Eilon Eilon removed the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label May 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-scrollview ScrollView platform/iOS 🍎 potential-regression This issue described a possible regression on a currently supported version., verification pending 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

5 participants