{"action":"created","issue":{"url":"https://api.github.com/repos/georgeOsdDev/react-draggable-tab/issues/68","repository_url":"https://api.github.com/repos/georgeOsdDev/react-draggable-tab","labels_url":"https://api.github.com/repos/georgeOsdDev/react-draggable-tab/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/georgeOsdDev/react-draggable-tab/issues/68/comments","events_url":"https://api.github.com/repos/georgeOsdDev/react-draggable-tab/issues/68/events","html_url":"https://github.com/georgeOsdDev/react-draggable-tab/issues/68","id":155260961,"number":68,"title":"Improve tab rendering perfomance","user":{"login":"HaNdTriX","id":1265681,"avatar_url":"https://avatars.githubusercontent.com/u/1265681?v=3","gravatar_id":"","url":"https://api.github.com/users/HaNdTriX","html_url":"https://github.com/HaNdTriX","followers_url":"https://api.github.com/users/HaNdTriX/followers","following_url":"https://api.github.com/users/HaNdTriX/following{/other_user}","gists_url":"https://api.github.com/users/HaNdTriX/gists{/gist_id}","starred_url":"https://api.github.com/users/HaNdTriX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaNdTriX/subscriptions","organizations_url":"https://api.github.com/users/HaNdTriX/orgs","repos_url":"https://api.github.com/users/HaNdTriX/repos","events_url":"https://api.github.com/users/HaNdTriX/events{/privacy}","received_events_url":"https://api.github.com/users/HaNdTriX/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/georgeOsdDev/react-draggable-tab/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-05-17T13:34:53Z","updated_at":"2016-07-13T01:24:10Z","closed_at":null,"body":"react-draggable-tab [hides a tab](https://github.com/georgeOsdDev/react-draggable-tab/blob/master/src/components/TabContainer.js#L4-L14) by setting its `height: 0`.\r\nThis means, that the contents of each tab need to be resized every time the tab is selected.\r\nThis may cause the view engine to render the selected tab very slowly. \r\n\r\n### Solution 1: \r\n\r\nSwitch to absolute hiding \r\n\r\n    // Hide\r\n    left: -9999999px;\r\n\r\n    // Show\r\n    left: 0;\r\n\r\n### Solution 2: \r\n\r\nLet the user configure the [hiding styles](https://github.com/georgeOsdDev/react-draggable-tab/blob/master/src/components/TabContainer.js#L4-L14) via props\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/georgeOsdDev/react-draggable-tab/issues/comments/232229383","html_url":"https://github.com/georgeOsdDev/react-draggable-tab/issues/68#issuecomment-232229383","issue_url":"https://api.github.com/repos/georgeOsdDev/react-draggable-tab/issues/68","id":232229383,"user":{"login":"georgeOsdDev","id":1381907,"avatar_url":"https://avatars.githubusercontent.com/u/1381907?v=3","gravatar_id":"","url":"https://api.github.com/users/georgeOsdDev","html_url":"https://github.com/georgeOsdDev","followers_url":"https://api.github.com/users/georgeOsdDev/followers","following_url":"https://api.github.com/users/georgeOsdDev/following{/other_user}","gists_url":"https://api.github.com/users/georgeOsdDev/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeOsdDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeOsdDev/subscriptions","organizations_url":"https://api.github.com/users/georgeOsdDev/orgs","repos_url":"https://api.github.com/users/georgeOsdDev/repos","events_url":"https://api.github.com/users/georgeOsdDev/events{/privacy}","received_events_url":"https://api.github.com/users/georgeOsdDev/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T01:24:10Z","updated_at":"2016-07-13T01:24:10Z","body":" I added `hiddenConteinerStyle` 5084ea54c713a22bc69e707372ca44a38e2821a8\r\nUser now can use any hidden style.\r\n\r\nWhen you use `left: -9999999px` it cause unexpected scrollbar and space when after tab is selected.\r\nAny good idea??"}}
{"actor":{"display_login":"georgeOsdDev"}}