Skip to content

[BUG] CollectionView SelectionChanged event does not fire on toolkit:popup page unless held for 3 seconds, only on iOS and only with 12.2.0 update #2852

@mccoym98

Description

@mccoym98

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

CollectionViews within toolkit:popup windows do not fire the SelectionChanged event unless the item has been held for 3 seconds. This issue is only on iOS, not Android, and was introduced with the 12.2.0 Update. Rolling back one fixed the problem.

Expected Behavior

Immediate click recongition on CollectionView items within a toolkit:popup window as in previous versions.

Steps To Reproduce

  1. Open and run solution from repository.
  2. Click to open popup.
  3. Clicking any popup item should immediately close the popup (within the SelectionChanged event)
  4. It will on android, but you must hold 3 seconds on iOS to fire SelectionChanged

Link to public reproduction project repository

https://github.com/mccoym98/ToolkitCollectionViewBugRepro.git

Environment

- .NET MAUI CommunityToolkit: 12.2.0
- OS: iOS 14, 15 & 16
- .NET MAUI: current

Anything else?

MAUI Community Toolkit Update 12.2.0 introduced a bug into my application only when run on iOS. I use CollectionViews inside of toolkit:popups. These CollectionViews are composed of borders and other similar elements within the DataTemplate. Those all now require a solid 3-second press in order to be activated as measured by the SelectionChanged event from the CollectionView. From what I have tested, CollectionViews not being used on a popup page are unaffected. I have rolled back NuGet updates one-by-one and pinned the issue to this toolkit on the 12.2.0 version. Buttons on the popup work fine as expected. Android works fine as well. This is an iOS only issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions