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

6 posts, 0 answers
  1. Frederik
    Frederik avatar
    12 posts
    Member since:
    May 2009

    Posted 23 May 2014 Link to this post

    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.
  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 26 May 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Frederik
    Frederik avatar
    12 posts
    Member since:
    May 2009

    Posted 28 May 2014 Link to this post

    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.
  5. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 30 May 2014 Link to this post

    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!
     
  6. Frederik
    Frederik avatar
    12 posts
    Member since:
    May 2009

    Posted 02 Jun 2014 Link to this post

    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.
  7. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 03 Jun 2014 Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready