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

Maui Grouped CollectionView incorrect item highlighted #22320

Open
BarkerPep opened this issue May 9, 2024 · 2 comments
Open

Maui Grouped CollectionView incorrect item highlighted #22320

BarkerPep opened this issue May 9, 2024 · 2 comments
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/iOS 🍎 platform/macOS 🍏 macOS / Mac Catalyst s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@BarkerPep
Copy link

Description

When using the grouping functionality of a CollectionView it can be observed that the selected item highlighting jumps to the top item in a grouping.

Screenshot 2024-05-09 at 11 32 36 AM

Verified issue on:

  • macOS
  • iOS-Simulator iPhone 15 Pro
  • iOS-Physical iPhone 14 Pro

Does not occur on:

  • Windows

Not tested:

  • Android

Steps to Reproduce

  1. Run application on macOS or iOS
  2. Verify you are on the view "Collection"
  3. Select any item that is not the first item in a grouping. Example: GroupId: 1, ItemId: 5
  4. Observe the selected item highlighting

Expected: The tapped item is highlighted

Actual: The tapped item flashes, but then the first item in the group is highlighted.

Link to public reproduction project repository

https://github.com/BarkerPep/MauiGroupedCollectionViewRepro

Version with bug

Unknown/Other

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, macOS

Affected platform versions

No response

Did you find any workaround?

Use ListView instead of CollectionView

Relevant log output

No response

@BarkerPep BarkerPep added the t/bug Something isn't working label May 9, 2024
Copy link
Contributor

github-actions bot commented May 9, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@Eilon Eilon added the area-controls-collectionview CollectionView, CarouselView, IndicatorView label May 9, 2024
@jaosnz-rep
Copy link

Can repro this issue at iOS and macOS platforms on the VS for Mac 17.6.12 build 410 (8.0.21).

@jaosnz-rep jaosnz-rep added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels May 10, 2024
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Jun 5, 2024
@samhouts samhouts removed s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 3, 2024
@samhouts samhouts added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 10, 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 platform/iOS 🍎 platform/macOS 🍏 macOS / Mac Catalyst 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

5 participants