{"action":"created","issue":{"url":"https://api.github.com/repos/STRML/react-grid-layout/issues/29","labels_url":"https://api.github.com/repos/STRML/react-grid-layout/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/STRML/react-grid-layout/issues/29/comments","events_url":"https://api.github.com/repos/STRML/react-grid-layout/issues/29/events","html_url":"https://github.com/STRML/react-grid-layout/issues/29","id":56693637,"number":29,"title":"Dragging and resizing is not working on IE11","user":{"login":"alanrubin","id":41364,"avatar_url":"https://avatars.githubusercontent.com/u/41364?v=3","gravatar_id":"","url":"https://api.github.com/users/alanrubin","html_url":"https://github.com/alanrubin","followers_url":"https://api.github.com/users/alanrubin/followers","following_url":"https://api.github.com/users/alanrubin/following{/other_user}","gists_url":"https://api.github.com/users/alanrubin/gists{/gist_id}","starred_url":"https://api.github.com/users/alanrubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanrubin/subscriptions","organizations_url":"https://api.github.com/users/alanrubin/orgs","repos_url":"https://api.github.com/users/alanrubin/repos","events_url":"https://api.github.com/users/alanrubin/events{/privacy}","received_events_url":"https://api.github.com/users/alanrubin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-02-05T16:32:15Z","updated_at":"2015-11-17T11:59:10Z","closed_at":null,"body":"First thanks for the great library !\r\n\r\nCurrently dragging and resizing is not working in M$ IE11 (running on a Windows 7 VM). You can easily reproduce by trying to run the showcase demo in IE11 - https://strml.github.io/react-grid-layout/examples/0-showcase.html .\r\n\r\nThe problem seems to rely on react-draggable component and the way it detects if the device is a touch one. We found that by modifying draggable.js file (/node_modules/react-grid-layout/node_modules/react-draggable/lib/draggable.js) so that isTouchDevice is always false solve the problem.\r\n\r\nSo instead of having:\r\n```javascript\r\n// @credits: http://stackoverflow.com/questions/4817029/whats-the-best-way-to-detect-a-touch-screen-device-using-javascript/4819886#4819886\r\n/* Conditional to fix node server side rendering of component */\r\nif (typeof window === 'undefined') {\r\n    // Do Node Stuff\r\n    var isTouchDevice = false;\r\n} else {\r\n    // Do Browser Stuff\r\n    var isTouchDevice = 'ontouchstart' in window || // works on most browsers\r\n      'onmsgesturechange' in window; // works on ie10 on ms surface\r\n}\r\n```\r\nwe do\r\n```javascript\r\nvar isTouchDevice = false;\r\n```\r\nthe problem is fixed.\r\n\r\nThis seems to be a problem with touch detection in IE11 and probably must be fixed in react-draggable but just want to make sure people are aware of the problem and temporary solution. I will try to investigate the best solution and open an issue for react-draggable."},"comment":{"url":"https://api.github.com/repos/STRML/react-grid-layout/issues/comments/157349808","html_url":"https://github.com/STRML/react-grid-layout/issues/29#issuecomment-157349808","issue_url":"https://api.github.com/repos/STRML/react-grid-layout/issues/29","id":157349808,"user":{"login":"jolyonruss","id":324470,"avatar_url":"https://avatars.githubusercontent.com/u/324470?v=3","gravatar_id":"","url":"https://api.github.com/users/jolyonruss","html_url":"https://github.com/jolyonruss","followers_url":"https://api.github.com/users/jolyonruss/followers","following_url":"https://api.github.com/users/jolyonruss/following{/other_user}","gists_url":"https://api.github.com/users/jolyonruss/gists{/gist_id}","starred_url":"https://api.github.com/users/jolyonruss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jolyonruss/subscriptions","organizations_url":"https://api.github.com/users/jolyonruss/orgs","repos_url":"https://api.github.com/users/jolyonruss/repos","events_url":"https://api.github.com/users/jolyonruss/events{/privacy}","received_events_url":"https://api.github.com/users/jolyonruss/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T11:59:10Z","updated_at":"2015-11-17T11:59:10Z","body":"@STRML d'you have a branch or work in progress fix for this that someone else could pick up and complete? You mentioned that it's 80% done, can we help with the extra 20% and get this working in IE?"}}