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

drawer reacts to the keystroke in an input field. Why?

5 Answers 18 Views
Drawer (Mobile)
This is a migrated thread and some comments may be shown as answers.
Frederik
Top achievements
Rank 1
Frederik asked on 23 May 2014, 02:12 PM
Hello,

Right on the View - As soon as I want in a texbox write something, the drawer-event is fired and the drawer is opened suddenly. Why? But that only happens on iOS6 Iphone. In the picture you can see a simulation to this problem.

5 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 26 May 2014, 08:11 AM
Hello Frederik,

This is not a known issue. Is it possible for you to re-create it in a sample from our dojo? We will take a look. 

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Frederik
Top achievements
Rank 1
answered on 28 May 2014, 09:42 AM
Hello, after many tests, i found out why the drawer closes after a keystroke in the input field. I use Knockout.js the framework for the data-binding. If the input field is used in conjunction with data-binding, then this event happens.
0
Petyo
Telerik team
answered on 30 May 2014, 07:27 AM
Hello Frederik,

Most likely knockout triggers some additional DOM events which open the drawer - it listens to touchstart and touchmove. I am not sure why this is needed, as I am not familiar with the knockout internals. Maybe the knockout developers can provide further insight on the problem.

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Frederik
Top achievements
Rank 1
answered on 02 Jun 2014, 09:59 AM
Thanks for the quick reply ... 

One more question. Can i solve this problem-from the Kendo UI side. Or are there any workarounds that you may know.
0
Petyo
Telerik team
answered on 03 Jun 2014, 03:37 PM
Hi Frederik,

I am not sure what the knockout js library triggers, or why it triggers it, so I can't suggest any concrete workarounds. In case you decide to work this around on the Kendo UI side, you may use the drawer debug script and check which part of the knockout binding opens it. 

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