{"action":"created","issue":{"url":"https://api.github.com/repos/inuyaksa/jquery.nicescroll/issues/458","labels_url":"https://api.github.com/repos/inuyaksa/jquery.nicescroll/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/inuyaksa/jquery.nicescroll/issues/458/comments","events_url":"https://api.github.com/repos/inuyaksa/jquery.nicescroll/issues/458/events","html_url":"https://github.com/inuyaksa/jquery.nicescroll/issues/458","id":51088448,"number":458,"title":"bug on railpadding","user":{"login":"sylvain-","id":10086268,"avatar_url":"https://avatars.githubusercontent.com/u/10086268?v=3","gravatar_id":"","url":"https://api.github.com/users/sylvain-","html_url":"https://github.com/sylvain-","followers_url":"https://api.github.com/users/sylvain-/followers","following_url":"https://api.github.com/users/sylvain-/following{/other_user}","gists_url":"https://api.github.com/users/sylvain-/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvain-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvain-/subscriptions","organizations_url":"https://api.github.com/users/sylvain-/orgs","repos_url":"https://api.github.com/users/sylvain-/repos","events_url":"https://api.github.com/users/sylvain-/events{/privacy}","received_events_url":"https://api.github.com/users/sylvain-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-05T11:21:34Z","updated_at":"2015-02-03T07:37:48Z","closed_at":null,"body":"Thanks for the good railpadding upgrade on last version,\r\nbut when you use railpadding: {top: 50} on html Tag, you can't scroll to the bottom of  the page, the 50px  of bottom was hidden, on chrome and firefox tested.\r\n\r\nThanks for all"},"comment":{"url":"https://api.github.com/repos/inuyaksa/jquery.nicescroll/issues/comments/72607101","html_url":"https://github.com/inuyaksa/jquery.nicescroll/issues/458#issuecomment-72607101","issue_url":"https://api.github.com/repos/inuyaksa/jquery.nicescroll/issues/458","id":72607101,"user":{"login":"thebazel","id":10816965,"avatar_url":"https://avatars.githubusercontent.com/u/10816965?v=3","gravatar_id":"","url":"https://api.github.com/users/thebazel","html_url":"https://github.com/thebazel","followers_url":"https://api.github.com/users/thebazel/followers","following_url":"https://api.github.com/users/thebazel/following{/other_user}","gists_url":"https://api.github.com/users/thebazel/gists{/gist_id}","starred_url":"https://api.github.com/users/thebazel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebazel/subscriptions","organizations_url":"https://api.github.com/users/thebazel/orgs","repos_url":"https://api.github.com/users/thebazel/repos","events_url":"https://api.github.com/users/thebazel/events{/privacy}","received_events_url":"https://api.github.com/users/thebazel/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T07:37:48Z","updated_at":"2015-02-03T07:37:48Z","body":"Some problems has appeared on my dynamic changed site. So I need to change more than one line of plugin code, and rewrote whole \"else\" block:\r\n\r\n```javascript\r\nelse {\r\n        self.page.h += (self.opt.railpadding.top + self.opt.railpadding.bottom);\r\n        //self.page.maxh -= (self.opt.railpadding.top + self.opt.railpadding.bottom);  //removed\r\n        self.rail.scrollable = true;\r\n        if (self.page.maxh <= self.scrollvaluemax) \r\n        {\r\n          self.rail.scrollable = false;\r\n          self.hideRail();\r\n        }\r\n      }\r\n```\r\n\r\nIn some cases you need to call `.resize()` method to update scrollbars on your page, if content inside scrollbar area has changed."}}