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

CollectionView ScrollTo not working under android #27117

Open
Schniefel opened this issue Jan 14, 2025 · 3 comments
Open

CollectionView ScrollTo not working under android #27117

Schniefel opened this issue Jan 14, 2025 · 3 comments
Labels
platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@Schniefel
Copy link

Description

Exactly like described here: #2891

I am not able to manually scroll the CollectionView under android with ".ScrollTo". Simply nothing happens.
It is working under Windows though.
The issue seems to be closed, but what is the fix?
I don't get it.

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

9.0.22 SR2.2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

no

Relevant log output

@Schniefel Schniefel added the t/bug Something isn't working label Jan 14, 2025
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@Ying-6 Ying-6 added s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage labels Jan 15, 2025
@Ying-6
Copy link

Ying-6 commented Jan 15, 2025

This issue has been verified Visual Studio 17.13 Preview 2.1 (9.0.22 & 9.0.21 & 9.0.0). Can repro this issue on Android platform.

According to the comment of issue #2891, this seems to be due to the stacklayout is having an infinite height. After changing the Layouts, it works well. The changed project is as follows:
MauiApp2891.zip

@Schniefel
Copy link
Author

I don't use a single stacklayout in the whole page. My Collectionview is embedded in a Grid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants