{"action":"created","issue":{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1103","labels_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1103/labels{/name}","comments_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1103/comments","events_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1103/events","html_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/pull/1103","id":125305704,"number":1103,"title":"Enable IME Composing for some diacritics on Mac OS #4 X & ideograms #1047 & Android virtual keyboard","user":{"login":"DarDoro","id":16109071,"avatar_url":"https://avatars.githubusercontent.com/u/16109071?v=3","gravatar_id":"","url":"https://api.github.com/users/DarDoro","html_url":"https://github.com/DarDoro","followers_url":"https://api.github.com/users/DarDoro/followers","following_url":"https://api.github.com/users/DarDoro/following{/other_user}","gists_url":"https://api.github.com/users/DarDoro/gists{/gist_id}","starred_url":"https://api.github.com/users/DarDoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarDoro/subscriptions","organizations_url":"https://api.github.com/users/DarDoro/orgs","repos_url":"https://api.github.com/users/DarDoro/repos","events_url":"https://api.github.com/users/DarDoro/events{/privacy}","received_events_url":"https://api.github.com/users/DarDoro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/labels/i18n","name":"i18n","color":"d4c5f9"},{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/labels/IDE","name":"IDE","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-07T02:03:12Z","updated_at":"2016-01-19T08:50:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/pulls/1103","html_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/pull/1103","diff_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/pull/1103.diff","patch_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/pull/1103.patch"},"body":"Some keyboard layout on Mac OS X activates, so called, IME Composing for entering diacritics with \"dead  key\". During \"composing\", usual keyboard events (keydown, keypress) are useless. Keystrokes are modified by browser or even discarded. Composition results are supplied to JS by appropriate events (compositionstart, compositionupdate,compositionend). Composition events are fired , only for text input (according DOM level 3 events specification).\r\nChanges, \"morphic.js\":\r\n1)  added \"compositionend\" event handler to hidden input field \"VirtualKeyboard\" (used so far for touch devices input) and send simulated kypress to Morphic canvas\r\n2) enabled \"VirtualKeyboard\" by default, not only for touch devices"},"comment":{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/comments/172778379","html_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/pull/1103#issuecomment-172778379","issue_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1103","id":172778379,"user":{"login":"gengshenghong","id":1018468,"avatar_url":"https://avatars.githubusercontent.com/u/1018468?v=3","gravatar_id":"","url":"https://api.github.com/users/gengshenghong","html_url":"https://github.com/gengshenghong","followers_url":"https://api.github.com/users/gengshenghong/followers","following_url":"https://api.github.com/users/gengshenghong/following{/other_user}","gists_url":"https://api.github.com/users/gengshenghong/gists{/gist_id}","starred_url":"https://api.github.com/users/gengshenghong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gengshenghong/subscriptions","organizations_url":"https://api.github.com/users/gengshenghong/orgs","repos_url":"https://api.github.com/users/gengshenghong/repos","events_url":"https://api.github.com/users/gengshenghong/events{/privacy}","received_events_url":"https://api.github.com/users/gengshenghong/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T08:50:15Z","updated_at":"2016-01-19T08:50:15Z","body":"I found my question #1047 is referenced in your discussion and come to this thread. It is great to see this issue is implemented here. I've downloaded your code and tested, one issue is that in none-English typing mode, you cannot enter numbers or punctuation, is it possible to fix/improve this??\r\n\r\nI'll also take a look at details of your code and learn it. Thank you for your hard and great working!\r\n\r\nThanks,\r\nShenghong"}}