{"action":"opened","issue":{"url":"https://api.github.com/repos/adazzle/react-data-grid/issues/1261","repository_url":"https://api.github.com/repos/adazzle/react-data-grid","labels_url":"https://api.github.com/repos/adazzle/react-data-grid/issues/1261/labels{/name}","comments_url":"https://api.github.com/repos/adazzle/react-data-grid/issues/1261/comments","events_url":"https://api.github.com/repos/adazzle/react-data-grid/issues/1261/events","html_url":"https://github.com/adazzle/react-data-grid/issues/1261","id":351821407,"node_id":"MDU6SXNzdWUzNTE4MjE0MDc=","number":1261,"title":"ReactDataGrid width does not update correctly","user":{"login":"jEnbuska","id":11061511,"node_id":"MDQ6VXNlcjExMDYxNTEx","avatar_url":"https://avatars1.githubusercontent.com/u/11061511?v=4","gravatar_id":"","url":"https://api.github.com/users/jEnbuska","html_url":"https://github.com/jEnbuska","followers_url":"https://api.github.com/users/jEnbuska/followers","following_url":"https://api.github.com/users/jEnbuska/following{/other_user}","gists_url":"https://api.github.com/users/jEnbuska/gists{/gist_id}","starred_url":"https://api.github.com/users/jEnbuska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jEnbuska/subscriptions","organizations_url":"https://api.github.com/users/jEnbuska/orgs","repos_url":"https://api.github.com/users/jEnbuska/repos","events_url":"https://api.github.com/users/jEnbuska/events{/privacy}","received_events_url":"https://api.github.com/users/jEnbuska/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-18T13:43:12Z","updated_at":"2018-08-18T13:43:12Z","closed_at":null,"author_association":"NONE","body":"React version v.16.4.2\r\n\r\nBrowser:\r\n- IE 11\r\n- Chrome\r\n\r\nReport type: Bug Report\r\n\r\n\r\n\r\nI'm using Grid beside SideNavigation. \r\n\r\nWhen SideNavigatio opens and closes the Grids width does not update correctly.\r\n\r\n1. When SideNavigation has collapsed the Grid:s width does not expand.\r\n2. When SideNavigation is re-expanded Grid:s width expands to size, that it should have been previously and ends up taking too much space.\r\n\r\nExample project: https://github.com/jEnbuska/react-data-grid_bug-report\r\n\r\nDemonstration screenshots:\r\n\r\n- Initial state before Sidebar closed\r\n<img width=\"1680\" alt=\"after_sidebar_re-open\" src=\"https://user-images.githubusercontent.com/11061511/44299738-7ef54500-a304-11e8-9754-3c674c7bbdc3.png\">\r\n\r\n- State after sidebar closed (Grid does not expand)\r\n<img width=\"1680\" alt=\"report_after_sidebar_collaps\" src=\"https://user-images.githubusercontent.com/11061511/44299740-8288cc00-a304-11e8-9f6d-684ecf5e27e2.png\">\r\n\r\n- State after Sidebar reopened (style: flex-basis: 200px)\r\n<img width=\"1680\" alt=\"after_sidebar_re-open\" src=\"https://user-images.githubusercontent.com/11061511/44299742-84eb2600-a304-11e8-9115-729444b6a76f.png\">\r\n\r\nremoving react-grid-Container:s inline width style, from developer tools, fixes the issues (at least partially), but is there a way to prevent this from happening in the first place?"}}
{"actor":{"display_login":"jEnbuska"}}