{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/10254","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/10254/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/10254/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/10254/events","html_url":"https://github.com/driftyco/ionic/issues/10254","id":204273425,"number":10254,"title":"Unable to use a \"Hardware\" keyboard on an ion-input (iOS simulator)","user":{"login":"kelvindart","id":13944505,"avatar_url":"https://avatars.githubusercontent.com/u/13944505?v=3","gravatar_id":"","url":"https://api.github.com/users/kelvindart","html_url":"https://github.com/kelvindart","followers_url":"https://api.github.com/users/kelvindart/followers","following_url":"https://api.github.com/users/kelvindart/following{/other_user}","gists_url":"https://api.github.com/users/kelvindart/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvindart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvindart/subscriptions","organizations_url":"https://api.github.com/users/kelvindart/orgs","repos_url":"https://api.github.com/users/kelvindart/repos","events_url":"https://api.github.com/users/kelvindart/events{/privacy}","received_events_url":"https://api.github.com/users/kelvindart/received_events","type":"User","site_admin":false},"labels":[{"id":96053308,"url":"https://api.github.com/repos/driftyco/ionic/labels/needs%20reply","name":"needs reply","color":"ededed","default":false},{"id":311009737,"url":"https://api.github.com/repos/driftyco/ionic/labels/v2","name":"v2","color":"313744","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-01-31T11:48:27Z","updated_at":"2017-02-01T17:24:58Z","closed_at":null,"body":"**Ionic version:**  (check one with \"x\")\r\n[ ] **1.x**\r\n[x] **2.x**\r\n\r\n**I'm submitting a ...**  (check one with \"x\")\r\n[x] bug report\r\n[ ] feature request\r\n[ ] support request\r\n\r\n**Current behavior:**\r\nI am unable to utilise the \"hardware\" keyboard when deploying to the iOS simulator which uses an `ion-input` (in this instance, the hardware is the MacBook's keyboard).\r\n\r\nI gather this may well be related to the `ionic-plugin-keyboard` plugin.\r\n\r\nIf I uncheck this so the simulator is forced to use the software keyboard, I can focus and type, but this is somewhat painstaking. 🙂\r\n\r\nBut when I attempt to set focus by clicking, focus is immediately lost and I am unable to type.\r\n\r\n**Expected behavior:**\r\nTo be able to use the hardware keyboard, and type without the `ion-input` losing focus.\r\n\r\n**Steps to reproduce:**\r\n1. Generate an Ionic v2 project: `ionic start -t blank -v IonInputTest && cd IonInputTest`\r\n2. Run the project on an iOS simulator: `ionic emulate`\r\n3. Ensure the hardware keyboard is connected: Hardware | Keyboard | Connect Hardware Keyboard.\r\n\r\n**Related code:**\r\nI added this to the bottom of `home.page` in the Ionic 2 blank starter app:\r\n\r\n```\r\n<ion-list>\r\n  <ion-item>\r\n    <ion-input></ion-input>\r\n  </ion-item>\r\n</ion-list>\r\n```\r\n\r\n**Other information:**\r\nThe input seems to momentarily focus - since if I hammer the mouse/keyboard then I can type a letter or two.\r\n\r\n![Ion Input issue](https://s23.postimg.org/e0nmwrtyj/ioninput.gif)\r\n\r\n**Ionic info:**\r\n\r\n```\r\nCordova CLI: 6.5.0 \r\nIonic Framework Version: 2.0.0\r\nIonic CLI Version: 2.1.18\r\nIonic App Lib Version: 2.1.9\r\nIonic App Scripts Version: 1.0.0\r\nios-deploy version: 1.9.0 \r\nios-sim version: 5.0.13 \r\nOS: macOS Sierra\r\nNode Version: v6.9.4\r\nXcode version: Xcode 8.2.1 Build version 8C1002\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/276722016","html_url":"https://github.com/driftyco/ionic/issues/10254#issuecomment-276722016","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/10254","id":276722016,"user":{"login":"kelvindart","id":13944505,"avatar_url":"https://avatars.githubusercontent.com/u/13944505?v=3","gravatar_id":"","url":"https://api.github.com/users/kelvindart","html_url":"https://github.com/kelvindart","followers_url":"https://api.github.com/users/kelvindart/followers","following_url":"https://api.github.com/users/kelvindart/following{/other_user}","gists_url":"https://api.github.com/users/kelvindart/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvindart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvindart/subscriptions","organizations_url":"https://api.github.com/users/kelvindart/orgs","repos_url":"https://api.github.com/users/kelvindart/repos","events_url":"https://api.github.com/users/kelvindart/events{/privacy}","received_events_url":"https://api.github.com/users/kelvindart/received_events","type":"User","site_admin":false},"created_at":"2017-02-01T17:24:58Z","updated_at":"2017-02-01T17:24:58Z","body":"For me it works fine on physical devices. Just not the simulator..."}}
{"actor":{"display_login":"kelvindart"}}