Hello,
Welcome to our Microsoft Q&A platform!
Is this a known issue or am I doing something wrong? The Buttons I use seem to work much more consistently.
Hi, I tested your code in my project and faced the similar issue as you described. However, if removing the swipeView, the gesture will work fine. This may be a potentials issue within gesture and swipeView, you could report the problem to the product team on github for a solution.
Or using the SelectionChanged of the CollectionView
for the tap function.
<RefreshView Margin="5, 5, 5, 5">
<CollectionView x:Name="CollectionsListView" SelectionChanged="CollectionsListView_SelectionChanged"
SelectionMode="Single">
<CollectionView.ItemTemplate>
<DataTemplate>
<SwipeView Padding="3">
<SwipeView.RightItems>
<SwipeItem Text="Edit" BackgroundColor="Green" />
<SwipeItem Text="Delete" BackgroundColor="Red" />
</SwipeView.RightItems>
<Frame CornerRadius="0" HasShadow="True" Padding="0" HeightRequest="75">
<StackLayout ...>
...
</StackLayout>
</Frame>
</SwipeView>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
</RefreshView>
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.