{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-sortable/issues/326","labels_url":"https://api.github.com/repos/angular-ui/ui-sortable/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-sortable/issues/326/comments","events_url":"https://api.github.com/repos/angular-ui/ui-sortable/issues/326/events","html_url":"https://github.com/angular-ui/ui-sortable/issues/326","id":55602931,"number":326,"title":"Unable to restrict the draggable object to a specific area?","user":{"login":"jyotirmoypan","id":3964310,"avatar_url":"https://avatars.githubusercontent.com/u/3964310?v=3","gravatar_id":"","url":"https://api.github.com/users/jyotirmoypan","html_url":"https://github.com/jyotirmoypan","followers_url":"https://api.github.com/users/jyotirmoypan/followers","following_url":"https://api.github.com/users/jyotirmoypan/following{/other_user}","gists_url":"https://api.github.com/users/jyotirmoypan/gists{/gist_id}","starred_url":"https://api.github.com/users/jyotirmoypan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyotirmoypan/subscriptions","organizations_url":"https://api.github.com/users/jyotirmoypan/orgs","repos_url":"https://api.github.com/users/jyotirmoypan/repos","events_url":"https://api.github.com/users/jyotirmoypan/events{/privacy}","received_events_url":"https://api.github.com/users/jyotirmoypan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/ui-sortable/labels/jquery-ui%20related","name":"jquery-ui related","color":"F46464"},{"url":"https://api.github.com/repos/angular-ui/ui-sortable/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-27T10:56:24Z","updated_at":"2015-01-27T13:25:53Z","closed_at":"2015-01-27T13:25:53Z","body":"I would like to restrict the draggable object i.e. table row or list element to a specific area. For example while sorting rows I would like to make sure while dragging rows I cannot drag it beyond the table area. In the implementation part I found it can be dragged beyond the page both horizontally and vertically. Can this be made possible?"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-sortable/issues/comments/71646888","html_url":"https://github.com/angular-ui/ui-sortable/issues/326#issuecomment-71646888","issue_url":"https://api.github.com/repos/angular-ui/ui-sortable/issues/326","id":71646888,"user":{"login":"thgreasi","id":1295829,"avatar_url":"https://avatars.githubusercontent.com/u/1295829?v=3","gravatar_id":"","url":"https://api.github.com/users/thgreasi","html_url":"https://github.com/thgreasi","followers_url":"https://api.github.com/users/thgreasi/followers","following_url":"https://api.github.com/users/thgreasi/following{/other_user}","gists_url":"https://api.github.com/users/thgreasi/gists{/gist_id}","starred_url":"https://api.github.com/users/thgreasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thgreasi/subscriptions","organizations_url":"https://api.github.com/users/thgreasi/orgs","repos_url":"https://api.github.com/users/thgreasi/repos","events_url":"https://api.github.com/users/thgreasi/events{/privacy}","received_events_url":"https://api.github.com/users/thgreasi/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T13:25:53Z","updated_at":"2015-01-27T13:25:53Z","body":"This is a jquery-ui specific question.\r\nI think that the [containment option](http://api.jqueryui.com/sortable/#option-containment) should work for your use case."}}