{"action":"opened","number":32,"pull_request":{"url":"https://api.github.com/repos/TK11235/udonarium/pulls/32","id":231711755,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNzExNzU1","html_url":"https://github.com/TK11235/udonarium/pull/32","diff_url":"https://github.com/TK11235/udonarium/pull/32.diff","patch_url":"https://github.com/TK11235/udonarium/pull/32.patch","issue_url":"https://api.github.com/repos/TK11235/udonarium/issues/32","number":32,"state":"open","locked":false,"title":"作業中: チャットパレットの高さを変更できるようにする機能","user":{"login":"blhsrwznrghfzpr","id":7685946,"node_id":"MDQ6VXNlcjc2ODU5NDY=","avatar_url":"https://avatars2.githubusercontent.com/u/7685946?v=4","gravatar_id":"","url":"https://api.github.com/users/blhsrwznrghfzpr","html_url":"https://github.com/blhsrwznrghfzpr","followers_url":"https://api.github.com/users/blhsrwznrghfzpr/followers","following_url":"https://api.github.com/users/blhsrwznrghfzpr/following{/other_user}","gists_url":"https://api.github.com/users/blhsrwznrghfzpr/gists{/gist_id}","starred_url":"https://api.github.com/users/blhsrwznrghfzpr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blhsrwznrghfzpr/subscriptions","organizations_url":"https://api.github.com/users/blhsrwznrghfzpr/orgs","repos_url":"https://api.github.com/users/blhsrwznrghfzpr/repos","events_url":"https://api.github.com/users/blhsrwznrghfzpr/events{/privacy}","received_events_url":"https://api.github.com/users/blhsrwznrghfzpr/received_events","type":"User","site_admin":false},"body":"\r\nテスト環境: http://yoshis-islands.sakura.ne.jp/udondev/\r\n\r\n※以下にある「既知の問題」を解決する方策が思いつかなかったため、知恵をお借りしたいです。\r\n\r\n# 実装理由\r\nチャットパレットに多くのコマンドを用意していた場合、\r\n現状では8行分しか表示されないため、\r\n目的のチャットパレットを探すのに不便だったため。\r\n\r\n# 実装方針\r\n- チャットパレットの高さを、チャットパレットの行数に合わせて変動するように\r\n- パネルからはみ出す場合は、送信部分や編集ボタンは固定してスクロールするように（チャットウィンドウの表示方法を参考にしました）\r\n\r\n# 既知の問題\r\n## チャットパレット編集中に2重にスクロールバーが表示されてしまう\r\nチャットパレット編集中の`<textarea>`の高さは、編集前のチャットパレットサイズを元に設定しています。\r\nそのため、その高さを超えるチャットパレットを入力すると、チャットパレットtextareaと外のパネルの2つのスクロールバーが表示されてしまい具合が悪いです。\r\n`ChatPaletteComponent#calcFitHeight`のようにチャットパレットtextareaの高さを調節すれば良いと思うのですが、上手く実装できませんでした。\r\n![default](https://user-images.githubusercontent.com/7685946/48658255-1e4fe280-ea82-11e8-8a65-c866c5037a49.png)\r\n\r\n\r\n## チャットパレットを選択したときに、Chromeなどで勝手にスクロールされてしまう\r\nチャットパレットの高さがパネルからはみ出しているときに、チャットパレットの最上部のoptionや最下部のoptionをクリックしたときに、\r\n`<select>`部が勝手にスクロールされてしまい、目的としないチャットパレットが選択されてしまいます。\r\nどうやら`position: sticky;`と`select`を併用したときのブラウザの挙動のようです。Firefoxでは発生しません。\r\nhttps://stackoverflow.com/questions/50804028/position-sticky-jumps-when-selecting-option\r\n一度チャットパレットをクリックして、続けてクリックする場合には発生しません。\r\n","created_at":"2018-11-17T07:03:09Z","updated_at":"2018-11-17T07:03:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/TK11235/udonarium/pulls/32/commits","review_comments_url":"https://api.github.com/repos/TK11235/udonarium/pulls/32/comments","review_comment_url":"https://api.github.com/repos/TK11235/udonarium/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TK11235/udonarium/issues/32/comments","statuses_url":"https://api.github.com/repos/TK11235/udonarium/statuses/bbbc6c4834858256c9eee49c2a13a09c812bab2e","head":{"label":"blhsrwznrghfzpr:chatpalette-resize","ref":"chatpalette-resize","sha":"bbbc6c4834858256c9eee49c2a13a09c812bab2e","user":{"login":"blhsrwznrghfzpr","id":7685946,"node_id":"MDQ6VXNlcjc2ODU5NDY=","avatar_url":"https://avatars2.githubusercontent.com/u/7685946?v=4","gravatar_id":"","url":"https://api.github.com/users/blhsrwznrghfzpr","html_url":"https://github.com/blhsrwznrghfzpr","followers_url":"https://api.github.com/users/blhsrwznrghfzpr/followers","following_url":"https://api.github.com/users/blhsrwznrghfzpr/following{/other_user}","gists_url":"https://api.github.com/users/blhsrwznrghfzpr/gists{/gist_id}","starred_url":"https://api.github.com/users/blhsrwznrghfzpr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blhsrwznrghfzpr/subscriptions","organizations_url":"https://api.github.com/users/blhsrwznrghfzpr/orgs","repos_url":"https://api.github.com/users/blhsrwznrghfzpr/repos","events_url":"https://api.github.com/users/blhsrwznrghfzpr/events{/privacy}","received_events_url":"https://api.github.com/users/blhsrwznrghfzpr/received_events","type":"User","site_admin":false},"repo":{"id":102116654,"node_id":"MDEwOlJlcG9zaXRvcnkxMDIxMTY2NTQ=","name":"udonarium","full_name":"blhsrwznrghfzpr/udonarium","private":false,"owner":{"login":"blhsrwznrghfzpr","id":7685946,"node_id":"MDQ6VXNlcjc2ODU5NDY=","avatar_url":"https://avatars2.githubusercontent.com/u/7685946?v=4","gravatar_id":"","url":"https://api.github.com/users/blhsrwznrghfzpr","html_url":"https://github.com/blhsrwznrghfzpr","followers_url":"https://api.github.com/users/blhsrwznrghfzpr/followers","following_url":"https://api.github.com/users/blhsrwznrghfzpr/following{/other_user}","gists_url":"https://api.github.com/users/blhsrwznrghfzpr/gists{/gist_id}","starred_url":"https://api.github.com/users/blhsrwznrghfzpr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blhsrwznrghfzpr/subscriptions","organizations_url":"https://api.github.com/users/blhsrwznrghfzpr/orgs","repos_url":"https://api.github.com/users/blhsrwznrghfzpr/repos","events_url":"https://api.github.com/users/blhsrwznrghfzpr/events{/privacy}","received_events_url":"https://api.github.com/users/blhsrwznrghfzpr/received_events","type":"User","site_admin":false},"html_url":"https://github.com/blhsrwznrghfzpr/udonarium","description":"WebRTCを使ってブラウザ間通信を行うオンセツール","fork":true,"url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium","forks_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/forks","keys_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/teams","hooks_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/hooks","issue_events_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/issues/events{/number}","events_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/events","assignees_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/assignees{/user}","branches_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/branches{/branch}","tags_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/tags","blobs_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/git/refs{/sha}","trees_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/statuses/{sha}","languages_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/languages","stargazers_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/stargazers","contributors_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/contributors","subscribers_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/subscribers","subscription_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/subscription","commits_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/commits{/sha}","git_commits_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/git/commits{/sha}","comments_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/comments{/number}","issue_comment_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/issues/comments{/number}","contents_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/contents/{+path}","compare_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/merges","archive_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/downloads","issues_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/issues{/number}","pulls_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/pulls{/number}","milestones_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/milestones{/number}","notifications_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/labels{/name}","releases_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/releases{/id}","deployments_url":"https://api.github.com/repos/blhsrwznrghfzpr/udonarium/deployments","created_at":"2017-09-01T13:39:31Z","updated_at":"2018-10-15T13:13:51Z","pushed_at":"2018-11-17T06:02:48Z","git_url":"git://github.com/blhsrwznrghfzpr/udonarium.git","ssh_url":"git@github.com:blhsrwznrghfzpr/udonarium.git","clone_url":"https://github.com/blhsrwznrghfzpr/udonarium.git","svn_url":"https://github.com/blhsrwznrghfzpr/udonarium","homepage":"","size":5791,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"TK11235:develop/1.7.x","ref":"develop/1.7.x","sha":"a543a5e2fad62e30794fce53ef248ef925556bd6","user":{"login":"TK11235","id":30261850,"node_id":"MDQ6VXNlcjMwMjYxODUw","avatar_url":"https://avatars1.githubusercontent.com/u/30261850?v=4","gravatar_id":"","url":"https://api.github.com/users/TK11235","html_url":"https://github.com/TK11235","followers_url":"https://api.github.com/users/TK11235/followers","following_url":"https://api.github.com/users/TK11235/following{/other_user}","gists_url":"https://api.github.com/users/TK11235/gists{/gist_id}","starred_url":"https://api.github.com/users/TK11235/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TK11235/subscriptions","organizations_url":"https://api.github.com/users/TK11235/orgs","repos_url":"https://api.github.com/users/TK11235/repos","events_url":"https://api.github.com/users/TK11235/events{/privacy}","received_events_url":"https://api.github.com/users/TK11235/received_events","type":"User","site_admin":false},"repo":{"id":101568376,"node_id":"MDEwOlJlcG9zaXRvcnkxMDE1NjgzNzY=","name":"udonarium","full_name":"TK11235/udonarium","private":false,"owner":{"login":"TK11235","id":30261850,"node_id":"MDQ6VXNlcjMwMjYxODUw","avatar_url":"https://avatars1.githubusercontent.com/u/30261850?v=4","gravatar_id":"","url":"https://api.github.com/users/TK11235","html_url":"https://github.com/TK11235","followers_url":"https://api.github.com/users/TK11235/followers","following_url":"https://api.github.com/users/TK11235/following{/other_user}","gists_url":"https://api.github.com/users/TK11235/gists{/gist_id}","starred_url":"https://api.github.com/users/TK11235/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TK11235/subscriptions","organizations_url":"https://api.github.com/users/TK11235/orgs","repos_url":"https://api.github.com/users/TK11235/repos","events_url":"https://api.github.com/users/TK11235/events{/privacy}","received_events_url":"https://api.github.com/users/TK11235/received_events","type":"User","site_admin":false},"html_url":"https://github.com/TK11235/udonarium","description":"WebRTCを使ってブラウザ間通信を行うオンセツール","fork":false,"url":"https://api.github.com/repos/TK11235/udonarium","forks_url":"https://api.github.com/repos/TK11235/udonarium/forks","keys_url":"https://api.github.com/repos/TK11235/udonarium/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TK11235/udonarium/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TK11235/udonarium/teams","hooks_url":"https://api.github.com/repos/TK11235/udonarium/hooks","issue_events_url":"https://api.github.com/repos/TK11235/udonarium/issues/events{/number}","events_url":"https://api.github.com/repos/TK11235/udonarium/events","assignees_url":"https://api.github.com/repos/TK11235/udonarium/assignees{/user}","branches_url":"https://api.github.com/repos/TK11235/udonarium/branches{/branch}","tags_url":"https://api.github.com/repos/TK11235/udonarium/tags","blobs_url":"https://api.github.com/repos/TK11235/udonarium/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TK11235/udonarium/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TK11235/udonarium/git/refs{/sha}","trees_url":"https://api.github.com/repos/TK11235/udonarium/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TK11235/udonarium/statuses/{sha}","languages_url":"https://api.github.com/repos/TK11235/udonarium/languages","stargazers_url":"https://api.github.com/repos/TK11235/udonarium/stargazers","contributors_url":"https://api.github.com/repos/TK11235/udonarium/contributors","subscribers_url":"https://api.github.com/repos/TK11235/udonarium/subscribers","subscription_url":"https://api.github.com/repos/TK11235/udonarium/subscription","commits_url":"https://api.github.com/repos/TK11235/udonarium/commits{/sha}","git_commits_url":"https://api.github.com/repos/TK11235/udonarium/git/commits{/sha}","comments_url":"https://api.github.com/repos/TK11235/udonarium/comments{/number}","issue_comment_url":"https://api.github.com/repos/TK11235/udonarium/issues/comments{/number}","contents_url":"https://api.github.com/repos/TK11235/udonarium/contents/{+path}","compare_url":"https://api.github.com/repos/TK11235/udonarium/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TK11235/udonarium/merges","archive_url":"https://api.github.com/repos/TK11235/udonarium/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TK11235/udonarium/downloads","issues_url":"https://api.github.com/repos/TK11235/udonarium/issues{/number}","pulls_url":"https://api.github.com/repos/TK11235/udonarium/pulls{/number}","milestones_url":"https://api.github.com/repos/TK11235/udonarium/milestones{/number}","notifications_url":"https://api.github.com/repos/TK11235/udonarium/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TK11235/udonarium/labels{/name}","releases_url":"https://api.github.com/repos/TK11235/udonarium/releases{/id}","deployments_url":"https://api.github.com/repos/TK11235/udonarium/deployments","created_at":"2017-08-27T17:22:57Z","updated_at":"2018-11-08T12:09:03Z","pushed_at":"2018-11-16T17:39:43Z","git_url":"git://github.com/TK11235/udonarium.git","ssh_url":"git@github.com:TK11235/udonarium.git","clone_url":"https://github.com/TK11235/udonarium.git","svn_url":"https://github.com/TK11235/udonarium","homepage":"","size":5766,"stargazers_count":70,"watchers_count":70,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":16,"open_issues":3,"watchers":70,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TK11235/udonarium/pulls/32"},"html":{"href":"https://github.com/TK11235/udonarium/pull/32"},"issue":{"href":"https://api.github.com/repos/TK11235/udonarium/issues/32"},"comments":{"href":"https://api.github.com/repos/TK11235/udonarium/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/TK11235/udonarium/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/TK11235/udonarium/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TK11235/udonarium/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/TK11235/udonarium/statuses/bbbc6c4834858256c9eee49c2a13a09c812bab2e"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":60,"deletions":34,"changed_files":3}}
{"actor":{"display_login":"blhsrwznrghfzpr"}}