{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/jquery-mobile/issues/5706","labels_url":"https://api.github.com/repos/jquery/jquery-mobile/issues/5706/labels{/name}","comments_url":"https://api.github.com/repos/jquery/jquery-mobile/issues/5706/comments","events_url":"https://api.github.com/repos/jquery/jquery-mobile/issues/5706/events","html_url":"https://github.com/jquery/jquery-mobile/issues/5706","id":11473338,"number":5706,"title":"Popup <input> doesn't loose focus","user":{"login":"vkammerer","id":1177483,"avatar_url":"https://avatars.githubusercontent.com/u/1177483?v=3","gravatar_id":"","url":"https://api.github.com/users/vkammerer","html_url":"https://github.com/vkammerer","followers_url":"https://api.github.com/users/vkammerer/followers","following_url":"https://api.github.com/users/vkammerer/following{/other_user}","gists_url":"https://api.github.com/users/vkammerer/gists{/gist_id}","starred_url":"https://api.github.com/users/vkammerer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkammerer/subscriptions","organizations_url":"https://api.github.com/users/vkammerer/orgs","repos_url":"https://api.github.com/users/vkammerer/repos","events_url":"https://api.github.com/users/vkammerer/events{/privacy}","received_events_url":"https://api.github.com/users/vkammerer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2013-02-27T20:33:24Z","updated_at":"2016-01-11T20:25:11Z","closed_at":"2013-02-28T06:56:35Z","body":"Hello JQM community,\r\n\r\nAfter opening a popup including form elements like input and textarea (only types tested so far) and giving the focus to one of these elements, it is impossible to loose focus again, unless your close the popup.\r\n\r\nThis bug is visible on the current Demo center.\r\n\r\nSteps to reproduce:\r\n1 - go to the popup page of the demo center:\r\nhttp://view.jquerymobile.com/master/docs/widgets/popup/\r\n2 - Scroll down to the Form section and click the \"Sign In\" button\r\n3 - Set focus to one of the input fields.\r\n4 - Try to click somewhere else in the popup: You can't loose focus again!\r\n\r\nTested on:\r\n- Desktop: Windows 7 / Chrome Canary\r\n- Mobile: Galaxy Note 2 / Android 4.1.2 / Webview (Phonegap)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jquery/jquery-mobile/issues/comments/170679416","html_url":"https://github.com/jquery/jquery-mobile/issues/5706#issuecomment-170679416","issue_url":"https://api.github.com/repos/jquery/jquery-mobile/issues/5706","id":170679416,"user":{"login":"mkattner","id":6524345,"avatar_url":"https://avatars.githubusercontent.com/u/6524345?v=3","gravatar_id":"","url":"https://api.github.com/users/mkattner","html_url":"https://github.com/mkattner","followers_url":"https://api.github.com/users/mkattner/followers","following_url":"https://api.github.com/users/mkattner/following{/other_user}","gists_url":"https://api.github.com/users/mkattner/gists{/gist_id}","starred_url":"https://api.github.com/users/mkattner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkattner/subscriptions","organizations_url":"https://api.github.com/users/mkattner/orgs","repos_url":"https://api.github.com/users/mkattner/repos","events_url":"https://api.github.com/users/mkattner/events{/privacy}","received_events_url":"https://api.github.com/users/mkattner/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T20:25:11Z","updated_at":"2016-01-11T20:25:11Z","body":"I removed ui.focusElement.focus(); and it works fine for me. But is this the right solution?"}}