{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/draggable/issues/130","repository_url":"https://api.github.com/repos/Shopify/draggable","labels_url":"https://api.github.com/repos/Shopify/draggable/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/draggable/issues/130/comments","events_url":"https://api.github.com/repos/Shopify/draggable/issues/130/events","html_url":"https://github.com/Shopify/draggable/issues/130","id":290865540,"node_id":"MDU6SXNzdWUyOTA4NjU1NDA=","number":130,"title":"Constrain dragging to an element","user":{"login":"jarben","id":561365,"node_id":"MDQ6VXNlcjU2MTM2NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/561365?v=4","gravatar_id":"","url":"https://api.github.com/users/jarben","html_url":"https://github.com/jarben","followers_url":"https://api.github.com/users/jarben/followers","following_url":"https://api.github.com/users/jarben/following{/other_user}","gists_url":"https://api.github.com/users/jarben/gists{/gist_id}","starred_url":"https://api.github.com/users/jarben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarben/subscriptions","organizations_url":"https://api.github.com/users/jarben/orgs","repos_url":"https://api.github.com/users/jarben/repos","events_url":"https://api.github.com/users/jarben/events{/privacy}","received_events_url":"https://api.github.com/users/jarben/received_events","type":"User","site_admin":false},"labels":[{"id":704521953,"node_id":"MDU6TGFiZWw3MDQ1MjE5NTM=","url":"https://api.github.com/repos/Shopify/draggable/labels/feature-request","name":"feature-request","color":"72ff80","default":false},{"id":704521957,"node_id":"MDU6TGFiZWw3MDQ1MjE5NTc=","url":"https://api.github.com/repos/Shopify/draggable/labels/question","name":"question","color":"dae06d","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-23T14:51:00Z","updated_at":"2018-10-25T10:18:43Z","closed_at":null,"author_association":"NONE","body":"It would be great if there is a plugin (or mirror option) that allows to constrain dragging inside a specific element.  For example: \r\n\r\n```\r\nconst sortable = new Sortable(el, {\r\n    draggable: 'li',\r\n    mirror: {\r\n        yAxis: false,\r\n        constrain:el\r\n    }\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/Shopify/draggable/issues/comments/432996556","html_url":"https://github.com/Shopify/draggable/issues/130#issuecomment-432996556","issue_url":"https://api.github.com/repos/Shopify/draggable/issues/130","id":432996556,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjk5NjU1Ng==","user":{"login":"dmitrybelyakov","id":178866,"node_id":"MDQ6VXNlcjE3ODg2Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/178866?v=4","gravatar_id":"","url":"https://api.github.com/users/dmitrybelyakov","html_url":"https://github.com/dmitrybelyakov","followers_url":"https://api.github.com/users/dmitrybelyakov/followers","following_url":"https://api.github.com/users/dmitrybelyakov/following{/other_user}","gists_url":"https://api.github.com/users/dmitrybelyakov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitrybelyakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitrybelyakov/subscriptions","organizations_url":"https://api.github.com/users/dmitrybelyakov/orgs","repos_url":"https://api.github.com/users/dmitrybelyakov/repos","events_url":"https://api.github.com/users/dmitrybelyakov/events{/privacy}","received_events_url":"https://api.github.com/users/dmitrybelyakov/received_events","type":"User","site_admin":false},"created_at":"2018-10-25T10:18:43Z","updated_at":"2018-10-25T10:18:43Z","author_association":"NONE","body":"Hey! Would really love this feature as well. Can you please add it?"}}
{"actor":{"display_login":"dmitrybelyakov"}}