Drag & Drop in a Icenium application

6 posts, 0 answers
  1. Hugo
    Hugo avatar
    28 posts
    Member since:
    May 2011

    Posted 12 Dec 2013 Link to this post

    I'm using icenium for a mobile aplication using HTML5, JS,CSS and Kendo.
    I manage to get it to work but the only problem that I'm having it's in centering the cursor when dragging an object, i.e., when the clone is dragged, the object is diverted. (See tha attached image)
    When I user cursorOffset to put the object in the correct position, dragging becomes really slow so it is not an option. Also, editing the clone css also becomes really slow.
    In the drag event, I use:
    drag: function(e) {
          console.log("x: ", e.screenX, "y: ", e.screenY);
        }
    This returns undefined. When I look to the object "e", the real x and y axis positions are in e.x.screen and e.y.screen. Is there a way to use this positions?


  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 13 Dec 2013 Link to this post

    Hello Hugo,

    From the provided information it is not possible to determine what is causing this slow behavior. I have tested it on our demos, but the cursor offset does seem to making the application slow. Could you please extract a runnable sample as a showcase, that we can test locally?

    Regards,
    Kiril Nikolov
    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. Hugo
    Hugo avatar
    28 posts
    Member since:
    May 2011

    Posted 13 Dec 2013 Link to this post

    Here is the drag example.
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 14 Dec 2013 Link to this post

    Hi Hugo,

    Thank you very much for your example.

    I can see that when the cursorOffset option is set, the draggable is performing a bit slower than without cursorOffset option set. I have logged this in our internal tracker, so we will take a look into.

    Thank you very much your patience and understanding.

    Regards,
    Kiril Nikolov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. Hugo
    Hugo avatar
    28 posts
    Member since:
    May 2011

    Posted 07 Jan 2014 Link to this post

    Hello Kiril,

    Is there any update about this issue?
  7. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 08 Jan 2014 Link to this post

    Hi Hugo,

    I still do not have resolution from the people responsible for this issue. As soon as I have more information about I will get back to you.

    Regards,
    Kiril Nikolov
    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