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

Ghost click (double click) when opening modal window

1 Answer 60 Views
ModalView
This is a migrated thread and some comments may be shown as answers.
Maddy
Top achievements
Rank 1
Maddy asked on 17 Aug 2012, 01:57 PM
Hi there,

We experience this in Android Jelly Bean, default browser for 'onlick' event. We just used the modal window sample. The test page is attached.

How to reproduce: Click to open the modal window and let's say there is a button in the modal window at the same position as the button used to open the modal window. Then it automatically triggers the modal window button's 'onclick' too.

But this works fine with 'data-click'. But needs to verify that, can't we use onclick/mouseup...? Is there a workaround?

/Maddy  

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 21 Aug 2012, 06:54 AM
Hi,

The custom widget events we export (in this case - data-click) are the recommended ways for handling user interaction events. Most notably, they feel "faster", as Kendo UI Mobile uses on the touch events if present. 

Greetings,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ModalView
Asked by
Maddy
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or