question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[UWP] Completed event raised twice when clicking on

See original GitHub issue

Running current release 4.1.36

I’ve noticed that the Completed event is now firing twice on TouchEff enabled controls, eg when clicking with the mouse. eg

<ContentView>
   <ContentView.Effects>
    <touch:TouchEff Completed="TouchView_Completed" />
  </ContentView.Effects>
</ContentView>

they both have the same stack image

Any ideas on what is going on?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
AndreiMisiukevichcommented, May 4, 2020

Seems I know what the reason I will fix it later

0reactions
AndreiMisiukevichcommented, May 4, 2020

I’ve just tried the new package - was it supposed to allow me to continue with existing code or just a tidy up for other stuff you’ve noticed? I’m still seeing the same behaviour on UWP (have not tried others yet)

No, you can go ahead with your approach (With completion)

That’s strange.

Well, if you switch to Command, does it fire event twice as well?

Read more comments on GitHub >

github_iconTop Results From Across the Web

C#: PointerPressed has been called twice when I click the ...
It calls when you pressed and keep button and when you leave button event finishes. So when you click on image you think...
Read more >
Control.DoubleClick Event (System.Windows.Forms)
The Click event is raised every time a control is double-clicked. For example, if you have event handlers for the Click and DoubleClick...
Read more >
GridView CommandCellClick Fires Twice in UI for WinForms
I found the solution. The reason why the CommandCellClick event was firing twice is because I had two references for GridView.CommandCellClick.
Read more >
Button OnClick Event is firing twice
Whenever I click on the button, the event is fired, if I then click somewhere else, the event is fired again ( im...
Read more >
WinRT KeyDown fired twice when Enter is pressed
Under UWP windows 10 App , events will still fired multiple times, Example, mediaElement state changed events will fired more than 2 times,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found