{"action":"closed","issue":{"url":"https://api.github.com/repos/forumone/jquery.selectability.js/issues/1","labels_url":"https://api.github.com/repos/forumone/jquery.selectability.js/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/forumone/jquery.selectability.js/issues/1/comments","events_url":"https://api.github.com/repos/forumone/jquery.selectability.js/issues/1/events","html_url":"https://github.com/forumone/jquery.selectability.js/issues/1","id":59690219,"number":1,"title":"Preventing Default","user":{"login":"gildir","id":5923118,"avatar_url":"https://avatars.githubusercontent.com/u/5923118?v=3","gravatar_id":"","url":"https://api.github.com/users/gildir","html_url":"https://github.com/gildir","followers_url":"https://api.github.com/users/gildir/followers","following_url":"https://api.github.com/users/gildir/following{/other_user}","gists_url":"https://api.github.com/users/gildir/gists{/gist_id}","starred_url":"https://api.github.com/users/gildir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gildir/subscriptions","organizations_url":"https://api.github.com/users/gildir/orgs","repos_url":"https://api.github.com/users/gildir/repos","events_url":"https://api.github.com/users/gildir/events{/privacy}","received_events_url":"https://api.github.com/users/gildir/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"gustavderdrache","id":194893,"avatar_url":"https://avatars.githubusercontent.com/u/194893?v=3","gravatar_id":"","url":"https://api.github.com/users/gustavderdrache","html_url":"https://github.com/gustavderdrache","followers_url":"https://api.github.com/users/gustavderdrache/followers","following_url":"https://api.github.com/users/gustavderdrache/following{/other_user}","gists_url":"https://api.github.com/users/gustavderdrache/gists{/gist_id}","starred_url":"https://api.github.com/users/gustavderdrache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gustavderdrache/subscriptions","organizations_url":"https://api.github.com/users/gustavderdrache/orgs","repos_url":"https://api.github.com/users/gustavderdrache/repos","events_url":"https://api.github.com/users/gustavderdrache/events{/privacy}","received_events_url":"https://api.github.com/users/gustavderdrache/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-03-03T19:14:39Z","updated_at":"2015-06-01T14:29:27Z","closed_at":"2015-06-01T14:29:27Z","body":"Trying to call preventDefault() on a select does not prevent selectability from showing the selection. Example: I have a select that opens a popup window, when the user closes the popup I want the select to be back at \"select a X:\" or whatever and not \"the last thing you chose\". $('select').val(\"foo\") won't work until the next change event fires, but opening the popup happens in the change handler, so $('select').trigger('change') is not an option either.\r\n\r\nBasically, can it check if preventDefault() has been called and actually prevent the default action?"}}