3

I didn't want to necro an old post so I am creating a new one on this. I have a collectionview that has two buttons on either side to increment or decrement a count, the buttons work however they are a lot harder to trigger since my swipeview left and right items keep triggering while trying to tap the buttons. This happens every 3-5 times attempting to hit the buttons, is there a way to adjust how far you have to swipe horizontally before swipeview activates?

Mufacka
  • 227
  • 1
  • 2
  • 11
  • Do you mean when you click the button, the swipeview will be swiped? According to the link you provided and the official cocument, there is no such a property. But there is a `Threshold` property to set the swiped distance size which can make the swipeview show the items. – Liyun Zhang - MSFT Jun 16 '22 at 07:03
  • 1
    Yes, when i attempt to tap on my buttons within the collectionview it triggers my swipeview instead of button event handler. Isn't a big deal on emulator when I'm clicking straight down on mouse but on my actual phone its a big hard to do a precise direct down and up tap. – Mufacka Jun 16 '22 at 16:07
  • The problem is a shortcoming of the swipeview, if we want resolve it, we may need to judge which event should be hit when the user taps the screen. It's a hard work. – Liyun Zhang - MSFT Jun 17 '22 at 09:47
  • 1
    This is a big problem for me as well. I'm developing my first .NET MAUI application, and I immediately ran into this. As a basis of comparison, I tried the Email application that came with my Android phone. I can easily swipe left, swipe right, and tap in that application. However, tapping is difficult to achieve on a physical device with the SwipeView, and a double-tap is practically impossible. – Eric Harmon Aug 24 '22 at 11:44
  • Yeah it definitely sucks, defintely reduces the quality of my app. Still no fix that I've seen. I'm afraid to release my app with issues like this. – Mufacka Aug 25 '22 at 13:27

0 Answers0