{"action":"created","issue":{"url":"https://api.github.com/repos/select2/select2/issues/3125","labels_url":"https://api.github.com/repos/select2/select2/issues/3125/labels{/name}","comments_url":"https://api.github.com/repos/select2/select2/issues/3125/comments","events_url":"https://api.github.com/repos/select2/select2/issues/3125/events","html_url":"https://github.com/select2/select2/issues/3125","id":60399730,"number":3125,"title":"After changing the selected option, scrolling is not re-enabled","user":{"login":"quatrano","id":2096274,"avatar_url":"https://avatars.githubusercontent.com/u/2096274?v=3","gravatar_id":"","url":"https://api.github.com/users/quatrano","html_url":"https://github.com/quatrano","followers_url":"https://api.github.com/users/quatrano/followers","following_url":"https://api.github.com/users/quatrano/following{/other_user}","gists_url":"https://api.github.com/users/quatrano/gists{/gist_id}","starred_url":"https://api.github.com/users/quatrano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quatrano/subscriptions","organizations_url":"https://api.github.com/users/quatrano/orgs","repos_url":"https://api.github.com/users/quatrano/repos","events_url":"https://api.github.com/users/quatrano/events{/privacy}","received_events_url":"https://api.github.com/users/quatrano/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/select2/select2/labels/needs%20information","name":"needs information","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/select2/select2/milestones/5","html_url":"https://github.com/select2/select2/milestones/4.0","labels_url":"https://api.github.com/repos/select2/select2/milestones/5/labels","id":152312,"number":5,"title":"4.0","description":"This will be a complete rebuild of Select2, from the ground up.\r\n\r\n**Alpha** The Select2 4.0-alpha.1 release should be done by December 15th, 2014.\r\n\r\n**Beta:** The Select2 4.0-beta.1 release should be done by January 7th, 2014.","creator":{"login":"ivaynberg","id":150030,"avatar_url":"https://avatars.githubusercontent.com/u/150030?v=3","gravatar_id":"","url":"https://api.github.com/users/ivaynberg","html_url":"https://github.com/ivaynberg","followers_url":"https://api.github.com/users/ivaynberg/followers","following_url":"https://api.github.com/users/ivaynberg/following{/other_user}","gists_url":"https://api.github.com/users/ivaynberg/gists{/gist_id}","starred_url":"https://api.github.com/users/ivaynberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivaynberg/subscriptions","organizations_url":"https://api.github.com/users/ivaynberg/orgs","repos_url":"https://api.github.com/users/ivaynberg/repos","events_url":"https://api.github.com/users/ivaynberg/events{/privacy}","received_events_url":"https://api.github.com/users/ivaynberg/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":92,"state":"open","created_at":"2012-07-26T15:56:40Z","updated_at":"2015-03-12T00:56:20Z","due_on":"2015-01-31T05:00:00Z","closed_at":null},"comments":4,"created_at":"2015-03-09T19:53:01Z","updated_at":"2015-03-12T00:56:20Z","closed_at":"2015-03-12T00:56:20Z","body":"This library does an amazing job of dealing with a \"select\" element within a scrolling region - when the element is focused, the region scrolls so that the element is fully visible.  Next, scrolling the region is disabled so that the options stay aligned with the element.\r\n\r\nWhen I click on an option, scrolling is re-enabled.  When I blur the element, scrolling is enabled.  However, when I use my keyboard (ie: enter) to select an option, scrolling is never re-enabled.\r\n\r\nThe work around (from the user perspective) is to focus and blur the element again.  As an external developer I could create some event handler that re-enables scrolling in this case, but it would be ideal if this could be fixed internally.  Should be a one-liner, I just don't know where to look.  Thanks!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/select2/select2/issues/comments/78405103","html_url":"https://github.com/select2/select2/issues/3125#issuecomment-78405103","issue_url":"https://api.github.com/repos/select2/select2/issues/3125","id":78405103,"user":{"login":"kevin-brown","id":1991850,"avatar_url":"https://avatars.githubusercontent.com/u/1991850?v=3","gravatar_id":"","url":"https://api.github.com/users/kevin-brown","html_url":"https://github.com/kevin-brown","followers_url":"https://api.github.com/users/kevin-brown/followers","following_url":"https://api.github.com/users/kevin-brown/following{/other_user}","gists_url":"https://api.github.com/users/kevin-brown/gists{/gist_id}","starred_url":"https://api.github.com/users/kevin-brown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevin-brown/subscriptions","organizations_url":"https://api.github.com/users/kevin-brown/orgs","repos_url":"https://api.github.com/users/kevin-brown/repos","events_url":"https://api.github.com/users/kevin-brown/events{/privacy}","received_events_url":"https://api.github.com/users/kevin-brown/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T00:56:20Z","updated_at":"2015-03-12T00:56:20Z","body":"I cannot reproduce this issue. After selecting an option, any scroll blockers put in place by Select2 are removed and I am able to scroll.\r\n\r\nThis is the test case I used: http://jsbin.com/yiretujome/1/edit\r\n\r\nUbuntu 14.0, Chrome 40."}}