{"action":"closed","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/4943","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/4943/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/4943/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/4943/events","html_url":"https://github.com/driftyco/ionic/issues/4943","id":126310694,"number":4943,"title":"bug: Inconsistent treatment of non-keyboard inputs","user":{"login":"jeremyrussell","id":6732553,"avatar_url":"https://avatars.githubusercontent.com/u/6732553?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyrussell","html_url":"https://github.com/jeremyrussell","followers_url":"https://api.github.com/users/jeremyrussell/followers","following_url":"https://api.github.com/users/jeremyrussell/following{/other_user}","gists_url":"https://api.github.com/users/jeremyrussell/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyrussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyrussell/subscriptions","organizations_url":"https://api.github.com/users/jeremyrussell/orgs","repos_url":"https://api.github.com/users/jeremyrussell/repos","events_url":"https://api.github.com/users/jeremyrussell/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyrussell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/needs%20reply","name":"needs reply","color":"ededed"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/v1","name":"v1","color":"888888"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-13T00:25:42Z","updated_at":"2016-05-31T07:17:59Z","closed_at":"2016-05-31T07:17:59Z","body":"**Type**: <span ionic-type>bug</span>\r\n\r\n**Platform**: <span ionic-platform>ios</span> <span ionic-platform-version>9</span>  <span ionic-webview>webview</span>\r\n\r\n<span ionic-description>While testing the fix for another bug I opened (#3927 now resolved), I was investigating the effects of selecting/activating inputs that don't have associated mobile virtual keyboards whilst an input with an associated keyboard has focus.  What I found was inconsistent in my view.\r\n\r\nMy expectation is that while a input has focus and the keyboard is visible, when the user taps on any region of the screen that can't accept focus or can but does not have an associated virtual keyboard, should blur the currently focused field and hide the keyboard\r\n\r\nI have created the following codepen tied to the latest version of ionic v1.2.4 http://codepen.io/jeremyrussell/pen/eJRyjg to demonstrate the difference between the various input types.\r\n\r\nTo summarise the differences I've noticed testing with iOS 9:\r\n  - checkbox: does not blur active input - **not expected**\r\n  - radio: does blur active input - as expected\r\n  - toggle: does not blur active input - **not expected**\r\n  - button: does blur active input - as expected\r\n  - reset: does blur active input - as expected\r\n  - submit: does blur active input - as expected\r\n  - range: does not blur active input - **not expected**\r\n  - image: does blur active input - as expected\r\n  - week: does blur active input - as expected\r\n  - hidden: see description below - **not expected**\r\n\r\nOne final test I added, which I'm not sure is a valid test case, was to wrap a hidden field with a label.  This results in the blur not occurring, however if a label is by itself (ie. not wrapping an input) the blur does occur.</span>\r\n\r\n<span is-issue-template></span>\r\n"}}
{"actor":{"display_login":"jgw96"}}