{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/5043","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/5043/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/5043/comments","events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/5043/events","html_url":"https://github.com/angular-ui/bootstrap/issues/5043","id":121298568,"number":5043,"title":"Opening modal on focus causes infinite loop","user":{"login":"GrosBibi","id":5518907,"avatar_url":"https://avatars.githubusercontent.com/u/5518907?v=3","gravatar_id":"","url":"https://api.github.com/users/GrosBibi","html_url":"https://github.com/GrosBibi","followers_url":"https://api.github.com/users/GrosBibi/followers","following_url":"https://api.github.com/users/GrosBibi/following{/other_user}","gists_url":"https://api.github.com/users/GrosBibi/gists{/gist_id}","starred_url":"https://api.github.com/users/GrosBibi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrosBibi/subscriptions","organizations_url":"https://api.github.com/users/GrosBibi/orgs","repos_url":"https://api.github.com/users/GrosBibi/repos","events_url":"https://api.github.com/users/GrosBibi/events{/privacy}","received_events_url":"https://api.github.com/users/GrosBibi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/component:%20modal","name":"component: modal","color":"ffffff"},{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/PRs%20plz!","name":"PRs plz!","color":"02d7e1"},{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/type:%20bug","name":"type: bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/angular-ui/bootstrap/milestones/9","html_url":"https://github.com/angular-ui/bootstrap/milestones/1.0.0","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/milestones/9/labels","id":528366,"number":9,"title":"1.0.0","description":"Rewrite in ES6","creator":{"login":"chrisirhc","id":132584,"avatar_url":"https://avatars.githubusercontent.com/u/132584?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisirhc","html_url":"https://github.com/chrisirhc","followers_url":"https://api.github.com/users/chrisirhc/followers","following_url":"https://api.github.com/users/chrisirhc/following{/other_user}","gists_url":"https://api.github.com/users/chrisirhc/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisirhc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisirhc/subscriptions","organizations_url":"https://api.github.com/users/chrisirhc/orgs","repos_url":"https://api.github.com/users/chrisirhc/repos","events_url":"https://api.github.com/users/chrisirhc/events{/privacy}","received_events_url":"https://api.github.com/users/chrisirhc/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":222,"state":"open","created_at":"2014-01-07T00:22:46Z","updated_at":"2015-12-11T06:49:23Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-12-09T17:31:26Z","updated_at":"2015-12-11T07:58:27Z","closed_at":null,"body":"When opening a modal from an input text on focus, it causes an infinite loop since the opener get the focus back when the modal is closed or dismissed.\r\n\r\nPlunker here : http://plnkr.co/edit/3bCv0M9eJL3TT4aByhYz?p=preview\r\n\r\nThanks guys !\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/comments/163868839","html_url":"https://github.com/angular-ui/bootstrap/issues/5043#issuecomment-163868839","issue_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/5043","id":163868839,"user":{"login":"GrosBibi","id":5518907,"avatar_url":"https://avatars.githubusercontent.com/u/5518907?v=3","gravatar_id":"","url":"https://api.github.com/users/GrosBibi","html_url":"https://github.com/GrosBibi","followers_url":"https://api.github.com/users/GrosBibi/followers","following_url":"https://api.github.com/users/GrosBibi/following{/other_user}","gists_url":"https://api.github.com/users/GrosBibi/gists{/gist_id}","starred_url":"https://api.github.com/users/GrosBibi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrosBibi/subscriptions","organizations_url":"https://api.github.com/users/GrosBibi/orgs","repos_url":"https://api.github.com/users/GrosBibi/repos","events_url":"https://api.github.com/users/GrosBibi/events{/privacy}","received_events_url":"https://api.github.com/users/GrosBibi/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T07:58:27Z","updated_at":"2015-12-11T07:58:27Z","body":"I think it would. But anyway, I worked my way around by not using an input to open the modal."}}