{"action":"opened","number":81,"pull_request":{"url":"https://api.github.com/repos/Windows-XAML/Template10/pulls/81","id":44774815,"html_url":"https://github.com/Windows-XAML/Template10/pull/81","diff_url":"https://github.com/Windows-XAML/Template10/pull/81.diff","patch_url":"https://github.com/Windows-XAML/Template10/pull/81.patch","issue_url":"https://api.github.com/repos/Windows-XAML/Template10/issues/81","number":81,"state":"open","locked":false,"title":"Prevent hamburger menu be opened when TextBox's keydown firing","user":{"login":"hungys","id":3820950,"avatar_url":"https://avatars.githubusercontent.com/u/3820950?v=3","gravatar_id":"","url":"https://api.github.com/users/hungys","html_url":"https://github.com/hungys","followers_url":"https://api.github.com/users/hungys/followers","following_url":"https://api.github.com/users/hungys/following{/other_user}","gists_url":"https://api.github.com/users/hungys/gists{/gist_id}","starred_url":"https://api.github.com/users/hungys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hungys/subscriptions","organizations_url":"https://api.github.com/users/hungys/orgs","repos_url":"https://api.github.com/users/hungys/repos","events_url":"https://api.github.com/users/hungys/events{/privacy}","received_events_url":"https://api.github.com/users/hungys/received_events","type":"User","site_admin":false},"body":"Fix issue #61 \r\n\r\nDue to an [internal bug](https://social.msdn.microsoft.com/Forums/en-US/734d6c7a-8da2-48c6-9b3d-fa868b4dfb1d/c-textbox-keydown-triggered-twice-in-metro-applications?forum=winappswithcsharp) of WinRT, the KeyDown event of TextBox will be triggered twice. When the second time of KeyDown fired, the frame has been navigated to another page, but the event still propagates and then intercepted by other controls. In this case, the hamburger button handles it, so the pane is opened.\r\n\r\nI replace KeyDown with KeyUp in this patch, and it works fine on both PC and phone :)\r\n","created_at":"2015-09-11T12:05:10Z","updated_at":"2015-09-11T12:05:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Windows-XAML/Template10/pulls/81/commits","review_comments_url":"https://api.github.com/repos/Windows-XAML/Template10/pulls/81/comments","review_comment_url":"https://api.github.com/repos/Windows-XAML/Template10/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Windows-XAML/Template10/issues/81/comments","statuses_url":"https://api.github.com/repos/Windows-XAML/Template10/statuses/7cfd3db524935eb00523a108a764657541126d0b","head":{"label":"hungys:master","ref":"master","sha":"7cfd3db524935eb00523a108a764657541126d0b","user":{"login":"hungys","id":3820950,"avatar_url":"https://avatars.githubusercontent.com/u/3820950?v=3","gravatar_id":"","url":"https://api.github.com/users/hungys","html_url":"https://github.com/hungys","followers_url":"https://api.github.com/users/hungys/followers","following_url":"https://api.github.com/users/hungys/following{/other_user}","gists_url":"https://api.github.com/users/hungys/gists{/gist_id}","starred_url":"https://api.github.com/users/hungys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hungys/subscriptions","organizations_url":"https://api.github.com/users/hungys/orgs","repos_url":"https://api.github.com/users/hungys/repos","events_url":"https://api.github.com/users/hungys/events{/privacy}","received_events_url":"https://api.github.com/users/hungys/received_events","type":"User","site_admin":false},"repo":{"id":42301944,"name":"Template10","full_name":"hungys/Template10","owner":{"login":"hungys","id":3820950,"avatar_url":"https://avatars.githubusercontent.com/u/3820950?v=3","gravatar_id":"","url":"https://api.github.com/users/hungys","html_url":"https://github.com/hungys","followers_url":"https://api.github.com/users/hungys/followers","following_url":"https://api.github.com/users/hungys/following{/other_user}","gists_url":"https://api.github.com/users/hungys/gists{/gist_id}","starred_url":"https://api.github.com/users/hungys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hungys/subscriptions","organizations_url":"https://api.github.com/users/hungys/orgs","repos_url":"https://api.github.com/users/hungys/repos","events_url":"https://api.github.com/users/hungys/events{/privacy}","received_events_url":"https://api.github.com/users/hungys/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hungys/Template10","description":"Templates with design patterns","fork":true,"url":"https://api.github.com/repos/hungys/Template10","forks_url":"https://api.github.com/repos/hungys/Template10/forks","keys_url":"https://api.github.com/repos/hungys/Template10/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hungys/Template10/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hungys/Template10/teams","hooks_url":"https://api.github.com/repos/hungys/Template10/hooks","issue_events_url":"https://api.github.com/repos/hungys/Template10/issues/events{/number}","events_url":"https://api.github.com/repos/hungys/Template10/events","assignees_url":"https://api.github.com/repos/hungys/Template10/assignees{/user}","branches_url":"https://api.github.com/repos/hungys/Template10/branches{/branch}","tags_url":"https://api.github.com/repos/hungys/Template10/tags","blobs_url":"https://api.github.com/repos/hungys/Template10/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hungys/Template10/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hungys/Template10/git/refs{/sha}","trees_url":"https://api.github.com/repos/hungys/Template10/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hungys/Template10/statuses/{sha}","languages_url":"https://api.github.com/repos/hungys/Template10/languages","stargazers_url":"https://api.github.com/repos/hungys/Template10/stargazers","contributors_url":"https://api.github.com/repos/hungys/Template10/contributors","subscribers_url":"https://api.github.com/repos/hungys/Template10/subscribers","subscription_url":"https://api.github.com/repos/hungys/Template10/subscription","commits_url":"https://api.github.com/repos/hungys/Template10/commits{/sha}","git_commits_url":"https://api.github.com/repos/hungys/Template10/git/commits{/sha}","comments_url":"https://api.github.com/repos/hungys/Template10/comments{/number}","issue_comment_url":"https://api.github.com/repos/hungys/Template10/issues/comments{/number}","contents_url":"https://api.github.com/repos/hungys/Template10/contents/{+path}","compare_url":"https://api.github.com/repos/hungys/Template10/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hungys/Template10/merges","archive_url":"https://api.github.com/repos/hungys/Template10/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hungys/Template10/downloads","issues_url":"https://api.github.com/repos/hungys/Template10/issues{/number}","pulls_url":"https://api.github.com/repos/hungys/Template10/pulls{/number}","milestones_url":"https://api.github.com/repos/hungys/Template10/milestones{/number}","notifications_url":"https://api.github.com/repos/hungys/Template10/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hungys/Template10/labels{/name}","releases_url":"https://api.github.com/repos/hungys/Template10/releases{/id}","created_at":"2015-09-11T10:14:59Z","updated_at":"2015-09-11T10:15:00Z","pushed_at":"2015-09-11T11:49:52Z","git_url":"git://github.com/hungys/Template10.git","ssh_url":"git@github.com:hungys/Template10.git","clone_url":"https://github.com/hungys/Template10.git","svn_url":"https://github.com/hungys/Template10","homepage":null,"size":31134,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Windows-XAML:master","ref":"master","sha":"be73897c8efe3ac91da1ae1be43f856b310ea032","user":{"login":"Windows-XAML","id":11873807,"avatar_url":"https://avatars.githubusercontent.com/u/11873807?v=3","gravatar_id":"","url":"https://api.github.com/users/Windows-XAML","html_url":"https://github.com/Windows-XAML","followers_url":"https://api.github.com/users/Windows-XAML/followers","following_url":"https://api.github.com/users/Windows-XAML/following{/other_user}","gists_url":"https://api.github.com/users/Windows-XAML/gists{/gist_id}","starred_url":"https://api.github.com/users/Windows-XAML/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Windows-XAML/subscriptions","organizations_url":"https://api.github.com/users/Windows-XAML/orgs","repos_url":"https://api.github.com/users/Windows-XAML/repos","events_url":"https://api.github.com/users/Windows-XAML/events{/privacy}","received_events_url":"https://api.github.com/users/Windows-XAML/received_events","type":"Organization","site_admin":false},"repo":{"id":33678290,"name":"Template10","full_name":"Windows-XAML/Template10","owner":{"login":"Windows-XAML","id":11873807,"avatar_url":"https://avatars.githubusercontent.com/u/11873807?v=3","gravatar_id":"","url":"https://api.github.com/users/Windows-XAML","html_url":"https://github.com/Windows-XAML","followers_url":"https://api.github.com/users/Windows-XAML/followers","following_url":"https://api.github.com/users/Windows-XAML/following{/other_user}","gists_url":"https://api.github.com/users/Windows-XAML/gists{/gist_id}","starred_url":"https://api.github.com/users/Windows-XAML/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Windows-XAML/subscriptions","organizations_url":"https://api.github.com/users/Windows-XAML/orgs","repos_url":"https://api.github.com/users/Windows-XAML/repos","events_url":"https://api.github.com/users/Windows-XAML/events{/privacy}","received_events_url":"https://api.github.com/users/Windows-XAML/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Windows-XAML/Template10","description":"Templates with design patterns","fork":false,"url":"https://api.github.com/repos/Windows-XAML/Template10","forks_url":"https://api.github.com/repos/Windows-XAML/Template10/forks","keys_url":"https://api.github.com/repos/Windows-XAML/Template10/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Windows-XAML/Template10/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Windows-XAML/Template10/teams","hooks_url":"https://api.github.com/repos/Windows-XAML/Template10/hooks","issue_events_url":"https://api.github.com/repos/Windows-XAML/Template10/issues/events{/number}","events_url":"https://api.github.com/repos/Windows-XAML/Template10/events","assignees_url":"https://api.github.com/repos/Windows-XAML/Template10/assignees{/user}","branches_url":"https://api.github.com/repos/Windows-XAML/Template10/branches{/branch}","tags_url":"https://api.github.com/repos/Windows-XAML/Template10/tags","blobs_url":"https://api.github.com/repos/Windows-XAML/Template10/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Windows-XAML/Template10/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Windows-XAML/Template10/git/refs{/sha}","trees_url":"https://api.github.com/repos/Windows-XAML/Template10/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Windows-XAML/Template10/statuses/{sha}","languages_url":"https://api.github.com/repos/Windows-XAML/Template10/languages","stargazers_url":"https://api.github.com/repos/Windows-XAML/Template10/stargazers","contributors_url":"https://api.github.com/repos/Windows-XAML/Template10/contributors","subscribers_url":"https://api.github.com/repos/Windows-XAML/Template10/subscribers","subscription_url":"https://api.github.com/repos/Windows-XAML/Template10/subscription","commits_url":"https://api.github.com/repos/Windows-XAML/Template10/commits{/sha}","git_commits_url":"https://api.github.com/repos/Windows-XAML/Template10/git/commits{/sha}","comments_url":"https://api.github.com/repos/Windows-XAML/Template10/comments{/number}","issue_comment_url":"https://api.github.com/repos/Windows-XAML/Template10/issues/comments{/number}","contents_url":"https://api.github.com/repos/Windows-XAML/Template10/contents/{+path}","compare_url":"https://api.github.com/repos/Windows-XAML/Template10/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Windows-XAML/Template10/merges","archive_url":"https://api.github.com/repos/Windows-XAML/Template10/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Windows-XAML/Template10/downloads","issues_url":"https://api.github.com/repos/Windows-XAML/Template10/issues{/number}","pulls_url":"https://api.github.com/repos/Windows-XAML/Template10/pulls{/number}","milestones_url":"https://api.github.com/repos/Windows-XAML/Template10/milestones{/number}","notifications_url":"https://api.github.com/repos/Windows-XAML/Template10/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Windows-XAML/Template10/labels{/name}","releases_url":"https://api.github.com/repos/Windows-XAML/Template10/releases{/id}","created_at":"2015-04-09T15:54:36Z","updated_at":"2015-09-10T21:47:55Z","pushed_at":"2015-09-11T12:05:10Z","git_url":"git://github.com/Windows-XAML/Template10.git","ssh_url":"git@github.com:Windows-XAML/Template10.git","clone_url":"https://github.com/Windows-XAML/Template10.git","svn_url":"https://github.com/Windows-XAML/Template10","homepage":null,"size":31134,"stargazers_count":277,"watchers_count":277,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":101,"mirror_url":null,"open_issues_count":17,"forks":101,"open_issues":17,"watchers":277,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Windows-XAML/Template10/pulls/81"},"html":{"href":"https://github.com/Windows-XAML/Template10/pull/81"},"issue":{"href":"https://api.github.com/repos/Windows-XAML/Template10/issues/81"},"comments":{"href":"https://api.github.com/repos/Windows-XAML/Template10/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/Windows-XAML/Template10/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/Windows-XAML/Template10/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Windows-XAML/Template10/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/Windows-XAML/Template10/statuses/7cfd3db524935eb00523a108a764657541126d0b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":3,"changed_files":1}}