{"action":"created","issue":{"url":"https://api.github.com/repos/ManifestWebDesign/angular-gridster/issues/267","labels_url":"https://api.github.com/repos/ManifestWebDesign/angular-gridster/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/ManifestWebDesign/angular-gridster/issues/267/comments","events_url":"https://api.github.com/repos/ManifestWebDesign/angular-gridster/issues/267/events","html_url":"https://github.com/ManifestWebDesign/angular-gridster/issues/267","id":73665731,"number":267,"title":"preventing dragging on click","user":{"login":"amarkitanis","id":509292,"avatar_url":"https://avatars.githubusercontent.com/u/509292?v=3","gravatar_id":"","url":"https://api.github.com/users/amarkitanis","html_url":"https://github.com/amarkitanis","followers_url":"https://api.github.com/users/amarkitanis/followers","following_url":"https://api.github.com/users/amarkitanis/following{/other_user}","gists_url":"https://api.github.com/users/amarkitanis/gists{/gist_id}","starred_url":"https://api.github.com/users/amarkitanis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amarkitanis/subscriptions","organizations_url":"https://api.github.com/users/amarkitanis/orgs","repos_url":"https://api.github.com/users/amarkitanis/repos","events_url":"https://api.github.com/users/amarkitanis/events{/privacy}","received_events_url":"https://api.github.com/users/amarkitanis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-06T16:08:31Z","updated_at":"2015-07-14T16:04:13Z","closed_at":"2015-07-14T16:04:13Z","body":"I dont think this is an issue per se but I'm not sure how it can be accomplished. \r\n\r\nWhen you click-to-drag on on a gridster item  it automatically increases the height of the entire container. \r\n\r\nThis is desirable behaviour when you want to move but not desirable when you're about to click on something within that item. Clicking on an element inside a gridster item has the effect of starting a drag. Can this be somehow caught and disabled?\r\n\r\nI found this thread: http://stackoverflow.com/questions/14301026/how-do-i-avoid-a-click-event-firing-after-dragging-a-gridster-js-widget-with-cli/25431791#25431791\r\n\r\nbut this solves it in a jquery manner and I'm not sure what ui.$player is.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ManifestWebDesign/angular-gridster/issues/comments/121291630","html_url":"https://github.com/ManifestWebDesign/angular-gridster/issues/267#issuecomment-121291630","issue_url":"https://api.github.com/repos/ManifestWebDesign/angular-gridster/issues/267","id":121291630,"user":{"login":"danomatic","id":459337,"avatar_url":"https://avatars.githubusercontent.com/u/459337?v=3","gravatar_id":"","url":"https://api.github.com/users/danomatic","html_url":"https://github.com/danomatic","followers_url":"https://api.github.com/users/danomatic/followers","following_url":"https://api.github.com/users/danomatic/following{/other_user}","gists_url":"https://api.github.com/users/danomatic/gists{/gist_id}","starred_url":"https://api.github.com/users/danomatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danomatic/subscriptions","organizations_url":"https://api.github.com/users/danomatic/orgs","repos_url":"https://api.github.com/users/danomatic/repos","events_url":"https://api.github.com/users/danomatic/events{/privacy}","received_events_url":"https://api.github.com/users/danomatic/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T16:04:13Z","updated_at":"2015-07-14T16:04:13Z","body":"@amarkitanis, i think it's a race condition where the drag handle is created after the draggable is initialized.  I believe #277 covers that issue."}}