This is a migrated thread and some comments may be shown as answers.

Not all button clicks are registered

2 Answers 55 Views
Button
This is a migrated thread and some comments may be shown as answers.
100%
Top achievements
Rank 1
100% asked on 16 May 2014, 09:47 AM
I am declaring buttons like this:

<span data-role="button" data-click="on_button_clicked">Button</span>

the problem is that not all button clicks result in a call to on_button_clicked.

The problem is illustrated on this fiddle.

If you alternate clicking those two buttons fast, you see that not all clicks are registered, even if the physical appearance of the buttons reflect the clicks.

2 Answers, 1 is accepted

Sort by
0
100%
Top achievements
Rank 1
answered on 16 May 2014, 10:04 AM
It seems it's canceled while clicking even if moved just 1px, is there any fuzzing available to set?
0
100%
Top achievements
Rank 1
answered on 16 May 2014, 11:27 AM
Sorry, posting in the wrong subforum, should be Button (Mobile). Over there i found the same discussion, with DEFAULT_THRESHOLD mentioned and it might be the solution.
Tags
Button
Asked by
100%
Top achievements
Rank 1
Answers by
100%
Top achievements
Rank 1
Share this question
or