{"action":"created","issue":{"url":"https://api.github.com/repos/Dador/JavascriptSubtitlesOctopus/issues/33","repository_url":"https://api.github.com/repos/Dador/JavascriptSubtitlesOctopus","labels_url":"https://api.github.com/repos/Dador/JavascriptSubtitlesOctopus/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/Dador/JavascriptSubtitlesOctopus/issues/33/comments","events_url":"https://api.github.com/repos/Dador/JavascriptSubtitlesOctopus/issues/33/events","html_url":"https://github.com/Dador/JavascriptSubtitlesOctopus/issues/33","id":371732630,"node_id":"MDU6SXNzdWUzNzE3MzI2MzA=","number":33,"title":"JSO not detect resizing when you modify display:grid; container","user":{"login":"XCanG","id":4011523,"node_id":"MDQ6VXNlcjQwMTE1MjM=","avatar_url":"https://avatars0.githubusercontent.com/u/4011523?v=4","gravatar_id":"","url":"https://api.github.com/users/XCanG","html_url":"https://github.com/XCanG","followers_url":"https://api.github.com/users/XCanG/followers","following_url":"https://api.github.com/users/XCanG/following{/other_user}","gists_url":"https://api.github.com/users/XCanG/gists{/gist_id}","starred_url":"https://api.github.com/users/XCanG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XCanG/subscriptions","organizations_url":"https://api.github.com/users/XCanG/orgs","repos_url":"https://api.github.com/users/XCanG/repos","events_url":"https://api.github.com/users/XCanG/events{/privacy}","received_events_url":"https://api.github.com/users/XCanG/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-18T22:06:53Z","updated_at":"2018-10-18T22:11:29Z","closed_at":null,"author_association":"NONE","body":"My page use template based on `display: grid;`, container for the video have 2 columns, one for video (wrapper), anothe for playlist items.\r\n\r\n.video | .playlist\r\n----- | --------\r\n\r\nIn Video wrapper on custom video controls I have expand button (analog is youtube widescreen button). Clicling on that button trigger JS function what add class to the player, this class change 2 rules for video wrapper: from `grid-column: 1; grid-row: 1;` to `grid-column: 1 / 3; grid-row: 1;`. \r\n\r\n.video | .video (expanded)\r\n----- | --------\r\n\r\nThis action resize player, but JSO not resize canvas, however fullscreen button (toggle video wrapper element full screen mode) is working and it might be fixed by this action, so:\r\n1. clicking expand button and expand grid position not trigger canvas resizing\r\n2. clicking 2 times on full screen mode (when you back to normal mode) resizes canvas to their property value\r\n3. clicking expand button again to retract player size again not trigger canvas resizing"},"comment":{"url":"https://api.github.com/repos/Dador/JavascriptSubtitlesOctopus/issues/comments/431181587","html_url":"https://github.com/Dador/JavascriptSubtitlesOctopus/issues/33#issuecomment-431181587","issue_url":"https://api.github.com/repos/Dador/JavascriptSubtitlesOctopus/issues/33","id":431181587,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTE4MTU4Nw==","user":{"login":"XCanG","id":4011523,"node_id":"MDQ6VXNlcjQwMTE1MjM=","avatar_url":"https://avatars0.githubusercontent.com/u/4011523?v=4","gravatar_id":"","url":"https://api.github.com/users/XCanG","html_url":"https://github.com/XCanG","followers_url":"https://api.github.com/users/XCanG/followers","following_url":"https://api.github.com/users/XCanG/following{/other_user}","gists_url":"https://api.github.com/users/XCanG/gists{/gist_id}","starred_url":"https://api.github.com/users/XCanG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XCanG/subscriptions","organizations_url":"https://api.github.com/users/XCanG/orgs","repos_url":"https://api.github.com/users/XCanG/repos","events_url":"https://api.github.com/users/XCanG/events{/privacy}","received_events_url":"https://api.github.com/users/XCanG/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T22:11:29Z","updated_at":"2018-10-18T22:11:29Z","author_association":"NONE","body":"There may be also solution if manually resize window, but this is a trick."}}
{"actor":{"display_login":"XCanG"}}