Skip to content

SfEffectsView TouchUpCommand does not trigger inside .NET MAUI CollectionView DataTemplate #285

@lennard393

Description

@lennard393

Description

When using Syncfusion.Maui.Core.SfEffectsView inside a CollectionView DataTemplate in a .NET MAUI project, the TouchUpCommand is not triggered when tapping on an item. The command works as expected outside of a CollectionView or when using a standard TapGestureRecognizer directly on the item. This issue prevents the use of SfEffectsView for interactive list items in CollectionView scenarios.

Steps to Reproduce

Example Repo:

https://github.com/lennard393/CollectionView__EffectsView.TouchupCommand

  1. Create a .NET MAUI project targeting .NET 10.
  2. Add Syncfusion.Maui.Core NuGet package.
  3. Define a model (e.g., FruitModel) and a ViewModel with a [RelayCommand] method (e.g., ShowFruitPopup(FruitModel fruit)).
  4. In the ViewModel, expose a list of FruitModel and bind it to a CollectionView in XAML.
  5. In the CollectionView's DataTemplate, wrap the item content in a SfEffectsView and bind TouchUpCommand and TouchUpCommandParameter to the ViewModel command and item.
  6. Run the app and tap on any item in the CollectionView.

Expected Behavior:
The command should be triggered and the corresponding method in the ViewModel should execute (e.g., show a toast).

Actual Behavior:
Actual Behavior:
The command is not triggered. No action is performed and breakpoints in the command method are not hit.

.NET Version

.NET 10.0

Version with bug

1.0.7

Is this a regression from previous behavior?

Yes, this used to work

Last Known Working Version

1.0.6

Affected platforms

iOS, Android

Affected Platform Versions

No response

Have you found a workaround?

No response

Relevant log output

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions