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

Unable to scroll inner CollectionView of nested CollectionViews #26449

Open
grantlogsdon1 opened this issue Dec 6, 2024 · 1 comment · May be fixed by #26738
Open

Unable to scroll inner CollectionView of nested CollectionViews #26449

grantlogsdon1 opened this issue Dec 6, 2024 · 1 comment · May be fixed by #26738
Assignees
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView p/2 Work that is important, but is currently not scheduled for release platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@grantlogsdon1
Copy link

grantlogsdon1 commented Dec 6, 2024

Description

On Android, when using a CollectionView nested within another CollectionView, I am unable to scroll within the inner CollectionView. When attempting to scroll within the inner CollectionView, the outer CollectionView is scrolled instead. I am able to select items within the inner CollectionView - it is only the scroll functionality that does not work.

This works as expected on iOS or Windows.

Windows demo (expected result):
https://github.com/user-attachments/assets/d38cf3a1-952c-428b-b6f0-65144ef74ac8

Android demo:
https://github.com/user-attachments/assets/a775db50-c027-4189-9f70-5c788a06cc22

Steps to Reproduce

See sample application for layout.

  1. Create a new Maui project.
  2. Add a CollectionView to a ContentPage
  3. In the DataTemplate of above CV , add another CV
  4. Add enough data to both that they fill the container enough to be scrollable
  5. Attempt to scroll in the inner CollectionView

Expected Result:

  • The items in the inner CV should scroll
  • The outer CV should only scroll when using whitespace outside of inner CV

Actual Result:

  • The outer CV scrolls

Link to public reproduction project repository

https://github.com/grantlogsdon1/CollectionViewScrollIssue.git

Version with bug

8.0.100 SR10

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 15.0 (API 35)

Did you find any workaround?

No response

Relevant log output

@grantlogsdon1 grantlogsdon1 added the t/bug Something isn't working label Dec 6, 2024
@ninachen03
Copy link

This issue has been verified using Visual Studio 17.13.0 Preview 1.0 (9.0.12 & 9.0.0 &8.0.100 &8.0.3). Can repro on android platform.

@ninachen03 ninachen03 added platform/android 🤖 s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Dec 9, 2024
@jfversluis jfversluis added the area-controls-collectionview CollectionView, CarouselView, IndicatorView label Dec 9, 2024
@jfversluis jfversluis added this to the Backlog milestone Dec 9, 2024
@jfversluis jfversluis added the p/2 Work that is important, but is currently not scheduled for release label Dec 9, 2024
@kubaflo kubaflo self-assigned this Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView p/2 Work that is important, but is currently not scheduled for release 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

Successfully merging a pull request may close this issue.

4 participants