{"action":"created","issue":{"url":"https://api.github.com/repos/DataTables/DataTables/issues/830","repository_url":"https://api.github.com/repos/DataTables/DataTables","labels_url":"https://api.github.com/repos/DataTables/DataTables/issues/830/labels{/name}","comments_url":"https://api.github.com/repos/DataTables/DataTables/issues/830/comments","events_url":"https://api.github.com/repos/DataTables/DataTables/issues/830/events","html_url":"https://github.com/DataTables/DataTables/issues/830","id":157621425,"number":830,"title":"Cant Select All on Input Text Boxes on Sortable Table Headers","user":{"login":"kzap","id":62213,"avatar_url":"https://avatars.githubusercontent.com/u/62213?v=3","gravatar_id":"","url":"https://api.github.com/users/kzap","html_url":"https://github.com/kzap","followers_url":"https://api.github.com/users/kzap/followers","following_url":"https://api.github.com/users/kzap/following{/other_user}","gists_url":"https://api.github.com/users/kzap/gists{/gist_id}","starred_url":"https://api.github.com/users/kzap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kzap/subscriptions","organizations_url":"https://api.github.com/users/kzap/orgs","repos_url":"https://api.github.com/users/kzap/repos","events_url":"https://api.github.com/users/kzap/events{/privacy}","received_events_url":"https://api.github.com/users/kzap/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-31T08:55:40Z","updated_at":"2016-05-31T11:00:48Z","closed_at":"2016-05-31T11:00:48Z","body":"In Chrome 51.0.2704.63 (64-bit) on OSX (doesnt happen on firefox)\r\n\r\nThe input boxes inside a table header which is sortable dont allow Select All, or CMD+A, or Edit Menu -> Select All.\r\n\r\nIf you put the input box in header that is not sortable or outside the TH tag, it works fine.\r\n\r\nTo replicate edit the html one of the sortable TH tags on this page:\r\nhttps://datatables.net/examples/basic_init/table_sorting.html\r\n\r\nFrom:\r\n```\r\n<th class=\"sorting\" tabindex=\"0\" aria-controls=\"example\" rowspan=\"1\" colspan=\"1\" aria-label=\"Name: activate to sort column ascending\" style=\"width: 137px;\">Name</th>\r\n```\r\n\r\nto\r\n```\r\n<th class=\"sorting\" tabindex=\"0\" aria-controls=\"example\" rowspan=\"1\" colspan=\"1\" aria-label=\"Name: activate to sort column ascending\" style=\"width: 137px;\">Name\r\n<input type=\"text\" name=\"test\" value=\"test\" />\r\n</th>\r\n```\r\n\r\nNow try to select all the word test or anything inside the text box. Not a show stopping bug, just annoying and couldnt figure out how to fix it from the javascript code :)"},"comment":{"url":"https://api.github.com/repos/DataTables/DataTables/issues/comments/222656862","html_url":"https://github.com/DataTables/DataTables/issues/830#issuecomment-222656862","issue_url":"https://api.github.com/repos/DataTables/DataTables/issues/830","id":222656862,"user":{"login":"DataTables","id":278219,"avatar_url":"https://avatars.githubusercontent.com/u/278219?v=3","gravatar_id":"","url":"https://api.github.com/users/DataTables","html_url":"https://github.com/DataTables","followers_url":"https://api.github.com/users/DataTables/followers","following_url":"https://api.github.com/users/DataTables/following{/other_user}","gists_url":"https://api.github.com/users/DataTables/gists{/gist_id}","starred_url":"https://api.github.com/users/DataTables/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataTables/subscriptions","organizations_url":"https://api.github.com/users/DataTables/orgs","repos_url":"https://api.github.com/users/DataTables/repos","events_url":"https://api.github.com/users/DataTables/events{/privacy}","received_events_url":"https://api.github.com/users/DataTables/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T11:00:48Z","updated_at":"2016-05-31T11:00:48Z","body":"Can you please post support requests and bug reports in the DataTables forums in future.\r\n\r\nIn this case you should add a `stopPropagation()` to whatever event handler you are using for the input element."}}
{"actor":{"display_login":"DataTables"}}