{"action":"created","issue":{"url":"https://api.github.com/repos/dojo/dijit/issues/99","labels_url":"https://api.github.com/repos/dojo/dijit/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/dojo/dijit/issues/99/comments","events_url":"https://api.github.com/repos/dojo/dijit/issues/99/events","html_url":"https://github.com/dojo/dijit/pull/99","id":103618259,"number":99,"title":"fix event passed to _onInput() on android/chrome w/word suggestion","user":{"login":"wkeese","id":69599,"avatar_url":"https://avatars.githubusercontent.com/u/69599?v=3","gravatar_id":"","url":"https://api.github.com/users/wkeese","html_url":"https://github.com/wkeese","followers_url":"https://api.github.com/users/wkeese/followers","following_url":"https://api.github.com/users/wkeese/following{/other_user}","gists_url":"https://api.github.com/users/wkeese/gists{/gist_id}","starred_url":"https://api.github.com/users/wkeese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkeese/subscriptions","organizations_url":"https://api.github.com/users/wkeese/orgs","repos_url":"https://api.github.com/users/wkeese/repos","events_url":"https://api.github.com/users/wkeese/events{/privacy}","received_events_url":"https://api.github.com/users/wkeese/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-27T23:51:15Z","updated_at":"2015-08-31T11:26:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dojo/dijit/pulls/99","html_url":"https://github.com/dojo/dijit/pull/99","diff_url":"https://github.com/dojo/dijit/pull/99.diff","patch_url":"https://github.com/dojo/dijit/pull/99.patch"},"body":"On [some] android phones typing printables produces keydown events but no corresponding keypress events.  Selecting something from the word suggestion list produces a compositionend event:\r\n\r\n![wordsuggestion](https://cloud.githubusercontent.com/assets/69599/9536056/90df9612-4d62-11e5-801c-13defbbe2d2e.gif)\r\n\r\nThis seems like a bug in Chrome/android, but I guess we just need to work around it.\r\n\r\nFixes #18673.\r\n\r\n@AdrianVasiliu, how does it look?\r\n\r\nI also thought about ignoring the `type=keydown keycode=229` events completely and just relying on the compositionend event, but that only comes if you select a choice from the word suggestions, not if you just close the keyboard after typing (to use exactly what you typed rather than using an auto-completion suggestion)."},"comment":{"url":"https://api.github.com/repos/dojo/dijit/issues/comments/136339722","html_url":"https://github.com/dojo/dijit/pull/99#issuecomment-136339722","issue_url":"https://api.github.com/repos/dojo/dijit/issues/99","id":136339722,"user":{"login":"AdrianVasiliu","id":1583981,"avatar_url":"https://avatars.githubusercontent.com/u/1583981?v=3","gravatar_id":"","url":"https://api.github.com/users/AdrianVasiliu","html_url":"https://github.com/AdrianVasiliu","followers_url":"https://api.github.com/users/AdrianVasiliu/followers","following_url":"https://api.github.com/users/AdrianVasiliu/following{/other_user}","gists_url":"https://api.github.com/users/AdrianVasiliu/gists{/gist_id}","starred_url":"https://api.github.com/users/AdrianVasiliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdrianVasiliu/subscriptions","organizations_url":"https://api.github.com/users/AdrianVasiliu/orgs","repos_url":"https://api.github.com/users/AdrianVasiliu/repos","events_url":"https://api.github.com/users/AdrianVasiliu/events{/privacy}","received_events_url":"https://api.github.com/users/AdrianVasiliu/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T11:26:12Z","updated_at":"2015-08-31T11:26:12Z","body":"Looks good with Cordova too. Tested with Cordova 5.1.1 on:\r\n* Android 6.0 preview / Nexus 5.\r\n* Android 5.1 / Nexus 5.\r\n* Android 4.2.2 / HTC One X.\r\n"}}