{"action":"created","issue":{"url":"https://api.github.com/repos/select2/select2/issues/1147","labels_url":"https://api.github.com/repos/select2/select2/issues/1147/labels{/name}","comments_url":"https://api.github.com/repos/select2/select2/issues/1147/comments","events_url":"https://api.github.com/repos/select2/select2/issues/1147/events","html_url":"https://github.com/select2/select2/issues/1147","id":12844060,"number":1147,"title":"select2 + bootstrap modal = weird scrolling","user":{"login":"KidkArolis","id":324440,"avatar_url":"https://avatars.githubusercontent.com/u/324440?v=3","gravatar_id":"","url":"https://api.github.com/users/KidkArolis","html_url":"https://github.com/KidkArolis","followers_url":"https://api.github.com/users/KidkArolis/followers","following_url":"https://api.github.com/users/KidkArolis/following{/other_user}","gists_url":"https://api.github.com/users/KidkArolis/gists{/gist_id}","starred_url":"https://api.github.com/users/KidkArolis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KidkArolis/subscriptions","organizations_url":"https://api.github.com/users/KidkArolis/orgs","repos_url":"https://api.github.com/users/KidkArolis/repos","events_url":"https://api.github.com/users/KidkArolis/events{/privacy}","received_events_url":"https://api.github.com/users/KidkArolis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2013-04-05T12:50:44Z","updated_at":"2015-01-30T10:25:50Z","closed_at":"2015-01-09T20:42:38Z","body":"If the modal dialog doesn't fit into the viewport, the background page scrolls when select2 is opened. No idea why this would be happening.\r\n\r\nhttp://jsfiddle.net/byJy8/1/"},"comment":{"url":"https://api.github.com/repos/select2/select2/issues/comments/72181445","html_url":"https://github.com/select2/select2/issues/1147#issuecomment-72181445","issue_url":"https://api.github.com/repos/select2/select2/issues/1147","id":72181445,"user":{"login":"drekinov","id":226927,"avatar_url":"https://avatars.githubusercontent.com/u/226927?v=3","gravatar_id":"","url":"https://api.github.com/users/drekinov","html_url":"https://github.com/drekinov","followers_url":"https://api.github.com/users/drekinov/followers","following_url":"https://api.github.com/users/drekinov/following{/other_user}","gists_url":"https://api.github.com/users/drekinov/gists{/gist_id}","starred_url":"https://api.github.com/users/drekinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drekinov/subscriptions","organizations_url":"https://api.github.com/users/drekinov/orgs","repos_url":"https://api.github.com/users/drekinov/repos","events_url":"https://api.github.com/users/drekinov/events{/privacy}","received_events_url":"https://api.github.com/users/drekinov/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T10:25:50Z","updated_at":"2015-01-30T10:25:50Z","body":":+1: \r\n\r\nStill a problem with 4.0.0.beta3.\r\nWhen bootstrap modal has a tabindex=-1,0,-2,... then select2 search input inside dropdown is not focusable.\r\nBootstrap's tabindex is required so `esc` can work and close modal with keyboard"}}