-
Notifications
You must be signed in to change notification settings - Fork 104
Description
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
- Create a .NET MAUI project targeting .NET 10.
- Add Syncfusion.Maui.Core NuGet package.
- Define a model (e.g., FruitModel) and a ViewModel with a [RelayCommand] method (e.g., ShowFruitPopup(FruitModel fruit)).
- In the ViewModel, expose a list of FruitModel and bind it to a CollectionView in XAML.
- In the CollectionView's DataTemplate, wrap the item content in a SfEffectsView and bind TouchUpCommand and TouchUpCommandParameter to the ViewModel command and item.
- 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