-
Notifications
You must be signed in to change notification settings - Fork 33
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
TouchEffect inside CollectionView DataTemplate not letting select item on Android #75
Comments
does it work with a content view? |
I have tried and no. It doesn't work either with a ContentView |
I think it's not specific to |
So, probably this is the limitation of this package. |
@AndreiMisiukevich I think the problem is on TouchEffect/TouchEffect.Droid/PlatformTouchEff.cs Lines 119 to 127 in f16d527
|
Hm, I thought it makes sense to mark the event as "handled" if it's handled indeed :) |
I've done some tests and I don't see any issue without handling it. The I think the behavior should be the same on different platforms, the event should be handled on all or none. Currently is handled on Android but not on iOS or UWP. I often define |
Well, if it works well even in the ScrollView sample, then I will appreciate submitting a PR with the fix :) |
Placing
TouchEffect
inside theDataTemplate
of aCollectionView
(I have triedFrame
&Grid
) does not work on Android.I have tried by calling
SelectionChangedCommand
and doesn't work either.I have tested on iOS and UWP and it works.
Repro link:
https://github.com/MADSENSE/Madsense.XamarinForms.Sample/tree/collection-view-frame-android-issue
The text was updated successfully, but these errors were encountered: