When an item is added to the swipe view, and a command is added to the swipe view, the swipeview won't run that command when its item is tapped.
The swipe view should run the command which corresponds to the swipe item tapped.
After revealing the item, if it is tapped, the swipe view only hides the item after it is tapped and does not run the command associated to it.
I made a demo project with reproduction of this bug. The project is the same as what you see in teh gif above. You can find it here: https://github.com/DamienDoumer/XFormsSwipeViewBugRepro
Can this be the same bug that you experienced
@ranwala?
yes, this is the same bug currently i am experienced with, this is working with simulators but not in any device.
It's not just the swipe items. No click event inside a SwipeView
seems to be working on android. Even anything in its contents.
I tried a grid in the content with tap gester recognizer. It worked fine without the SwipeView but not with. I even tried one of the components inside the grid having a tap gesture recognizer. It still doesn't work.
The Invoked event seems to work on emulators but not devices. All commands work on neither.
Details:
Visual Studio Community Version 16.4.2
Xamarin Forms 4.4.0.991265
Emulator: Pixel 3
I am having the same issue inside of a collectionview.
I am facing the exact same issue posted on this issue. For me it is happening on Android and iOS, simulators and real devices, both of them.
Having the exact same issue on Android 9.0 (Huawei Mate 20 Lite - SNE-LX1).
Got another real device with Android 7.0 (Huawei P9 Lite - VNS-L31) but on this device everything is working fine.
Microsoft Visual Studio Community 2019 Version 16.4.2
Xamarin.Forms Version 4.5.0.142-pre1
Even the SwipeViewDemos have those issue so it's not an implementation failure.
Edit:
Might be interesting: When I use vysor and making "touches" (clicking with my mouse) on a SwipeItem, it works on my Android 9 device as well.
Edit 2:
FYI: Found this PullRequest for this topic.
I can confirm I get this too on all devices, iOS, and Android. SwipeView stops the tap of the row in a CollectionView/ListView
Anyone found the solution of tap event in SwipView?
I am still having the problem when click on SwipItem. I have updated xamarian.forms to 4.5.0.187-pre2 but still having same problem.
Thanks in advance
@kaminipatel03 please notice the PR for this issue: https://github.com/xamarin/Xamarin.Forms/pull/9177
The issue still persists in the latest nightly build. I am testing it with a Note 10 as of now.
Hi,
I have Huawei P30 Lite. I had this some issue early. In version Xamarin Froms 4.5.0.395 this issue is didn't occures. In my case I have SwipeView in CollectionView, it's works great. Thank you for your support !!! ;)