{"action":"created","issue":{"url":"https://api.github.com/repos/almasaeed2010/AdminLTE/issues/515","labels_url":"https://api.github.com/repos/almasaeed2010/AdminLTE/issues/515/labels{/name}","comments_url":"https://api.github.com/repos/almasaeed2010/AdminLTE/issues/515/comments","events_url":"https://api.github.com/repos/almasaeed2010/AdminLTE/issues/515/events","html_url":"https://github.com/almasaeed2010/AdminLTE/issues/515","id":89266854,"number":515,"title":"Change slimscroll height on resize","user":{"login":"Seiifer","id":7030689,"avatar_url":"https://avatars.githubusercontent.com/u/7030689?v=3","gravatar_id":"","url":"https://api.github.com/users/Seiifer","html_url":"https://github.com/Seiifer","followers_url":"https://api.github.com/users/Seiifer/followers","following_url":"https://api.github.com/users/Seiifer/following{/other_user}","gists_url":"https://api.github.com/users/Seiifer/gists{/gist_id}","starred_url":"https://api.github.com/users/Seiifer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seiifer/subscriptions","organizations_url":"https://api.github.com/users/Seiifer/orgs","repos_url":"https://api.github.com/users/Seiifer/repos","events_url":"https://api.github.com/users/Seiifer/events{/privacy}","received_events_url":"https://api.github.com/users/Seiifer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/almasaeed2010/AdminLTE/labels/invalid","name":"invalid","color":"e6e6e6"},{"url":"https://api.github.com/repos/almasaeed2010/AdminLTE/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-18T11:23:27Z","updated_at":"2015-06-19T11:51:29Z","closed_at":"2015-06-19T11:51:29Z","body":"Is there a way to change the slimscroll's height when we resize the page.\r\nFor example, if we start with a small window and then maximize it to full screen, the menu will keep scrollings until the previous height instead of going until the bottom of the page.\r\n\r\nAdding the following code in `window.onresize` function did not change anything :\r\n```javascript\r\n$(\".slimscroll\").slimscroll({\r\n        height: (window.innerHeight - 200) + \"px\",\r\n    }).css(\"width\", \"100%\");\r\n```"},"comment":{"url":"https://api.github.com/repos/almasaeed2010/AdminLTE/issues/comments/113487891","html_url":"https://github.com/almasaeed2010/AdminLTE/issues/515#issuecomment-113487891","issue_url":"https://api.github.com/repos/almasaeed2010/AdminLTE/issues/515","id":113487891,"user":{"login":"almasaeed2010","id":1512664,"avatar_url":"https://avatars.githubusercontent.com/u/1512664?v=3","gravatar_id":"","url":"https://api.github.com/users/almasaeed2010","html_url":"https://github.com/almasaeed2010","followers_url":"https://api.github.com/users/almasaeed2010/followers","following_url":"https://api.github.com/users/almasaeed2010/following{/other_user}","gists_url":"https://api.github.com/users/almasaeed2010/gists{/gist_id}","starred_url":"https://api.github.com/users/almasaeed2010/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almasaeed2010/subscriptions","organizations_url":"https://api.github.com/users/almasaeed2010/orgs","repos_url":"https://api.github.com/users/almasaeed2010/repos","events_url":"https://api.github.com/users/almasaeed2010/events{/privacy}","received_events_url":"https://api.github.com/users/almasaeed2010/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T11:51:29Z","updated_at":"2015-06-19T11:51:29Z","body":"That's a question to the SlimScroll community. I am not sure how to change the properties of SlimScroll after initiation. \r\n\r\nThanks."}}