{"action":"created","issue":{"url":"https://api.github.com/repos/vakata/jstree/issues/929","labels_url":"https://api.github.com/repos/vakata/jstree/issues/929/labels{/name}","comments_url":"https://api.github.com/repos/vakata/jstree/issues/929/comments","events_url":"https://api.github.com/repos/vakata/jstree/issues/929/events","html_url":"https://github.com/vakata/jstree/issues/929","id":52557669,"number":929,"title":"Optimizing dnd for touch devices","user":{"login":"Glideh","id":1119270,"avatar_url":"https://avatars.githubusercontent.com/u/1119270?v=3","gravatar_id":"","url":"https://api.github.com/users/Glideh","html_url":"https://github.com/Glideh","followers_url":"https://api.github.com/users/Glideh/followers","following_url":"https://api.github.com/users/Glideh/following{/other_user}","gists_url":"https://api.github.com/users/Glideh/gists{/gist_id}","starred_url":"https://api.github.com/users/Glideh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glideh/subscriptions","organizations_url":"https://api.github.com/users/Glideh/orgs","repos_url":"https://api.github.com/users/Glideh/repos","events_url":"https://api.github.com/users/Glideh/events{/privacy}","received_events_url":"https://api.github.com/users/Glideh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-20T08:53:18Z","updated_at":"2015-01-02T20:38:00Z","closed_at":null,"body":"Having the dnd working on touch devices is great.\r\nBut if the user wanted to scroll, he would have to touch an area without a node.\r\nIf he mistakenly **scrolls** on a node, it gets **dragged**.\r\n\r\nWouldn't there be a way to add a **delay** before triggering the drag ?\r\n(As with mobile applications to move the shortcuts for example)"},"comment":{"url":"https://api.github.com/repos/vakata/jstree/issues/comments/68560119","html_url":"https://github.com/vakata/jstree/issues/929#issuecomment-68560119","issue_url":"https://api.github.com/repos/vakata/jstree/issues/929","id":68560119,"user":{"login":"vakata","id":146052,"avatar_url":"https://avatars.githubusercontent.com/u/146052?v=3","gravatar_id":"","url":"https://api.github.com/users/vakata","html_url":"https://github.com/vakata","followers_url":"https://api.github.com/users/vakata/followers","following_url":"https://api.github.com/users/vakata/following{/other_user}","gists_url":"https://api.github.com/users/vakata/gists{/gist_id}","starred_url":"https://api.github.com/users/vakata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vakata/subscriptions","organizations_url":"https://api.github.com/users/vakata/orgs","repos_url":"https://api.github.com/users/vakata/repos","events_url":"https://api.github.com/users/vakata/events{/privacy}","received_events_url":"https://api.github.com/users/vakata/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T20:38:00Z","updated_at":"2015-01-02T20:38:00Z","body":"You can even now disable the dnd plugin for mobile (by not including it), but what I am suggesting takes this a step further:\r\nOption 1 would be to keep it as is (the default) - if you tap and move on a node title - it will be dragged (so mobile is the same as desktop).\r\nOption 2 would be to only be able to drag selected node - so taping and moving on a not selected node would scroll (that would be valid for mobile only - desktop will not be affected).\r\nOption 3 would be to disable dnd on mobile (but not by conditionally omitting the dnd plugin in your config but by a setting in the dnd plugin options)."}}