Skip to content
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

The long press is triggered by multiple short taps #1818

Open
2 tasks done
MarkiianKhylynskyi opened this issue Apr 16, 2024 · 2 comments
Open
2 tasks done

The long press is triggered by multiple short taps #1818

MarkiianKhylynskyi opened this issue Apr 16, 2024 · 2 comments
Labels
area/behaviors Issue/Discussion/PR that has to do with Behaviors bug Something isn't working unverified

Comments

@MarkiianKhylynskyi
Copy link

MarkiianKhylynskyi commented Apr 16, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

The LongPressCommand of the TouchBehavior is triggered by multiple fast short taps

Screen.Recording.2024-04-16.at.09.25.55.mov
Screen.Recording.2024-04-16.at.10.03.02.mov

Expected Behavior

The long press should be triggered only by long tap

Steps To Reproduce

  1. Open and run the repro project
  2. Tap multiple times on the dotnet bot image

Link to public reproduction project repository

https://github.com/jfversluis/MauiLongPressSample/tree/main/MauiLongPressSample

Environment

- .NET MAUI CommunityToolkit: 8.0.1
- OS: Android, iOS
- .NET MAUI: 8.0.20

Anything else?

No response

Tasks

No tasks being tracked yet.
@MarkiianKhylynskyi MarkiianKhylynskyi added bug Something isn't working unverified labels Apr 16, 2024
@vhugogarcia vhugogarcia added the area/behaviors Issue/Discussion/PR that has to do with Behaviors label Apr 17, 2024
@hwsmo
Copy link

hwsmo commented Apr 19, 2024

Hi, i can also confirm the error.

@david-maw
Copy link

Me too, in my case the error occurs when switching DataTemplate values, there's a repro here. Basically you just run it and click on the first name in the list and see something like: https://github.com/CommunityToolkit/Maui/assets/12423046/154f0bf1-0d84-463e-afd6-68e9bd8f5ea9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/behaviors Issue/Discussion/PR that has to do with Behaviors bug Something isn't working unverified
Projects
None yet
Development

No branches or pull requests

4 participants