{"action":"created","issue":{"url":"https://api.github.com/repos/Grsmto/simplebar/issues/48","repository_url":"https://api.github.com/repos/Grsmto/simplebar","labels_url":"https://api.github.com/repos/Grsmto/simplebar/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/Grsmto/simplebar/issues/48/comments","events_url":"https://api.github.com/repos/Grsmto/simplebar/issues/48/events","html_url":"https://github.com/Grsmto/simplebar/issues/48","id":197563625,"number":48,"title":"apply scroll to body","user":{"login":"sadashivm","id":10355473,"avatar_url":"https://avatars.githubusercontent.com/u/10355473?v=3","gravatar_id":"","url":"https://api.github.com/users/sadashivm","html_url":"https://github.com/sadashivm","followers_url":"https://api.github.com/users/sadashivm/followers","following_url":"https://api.github.com/users/sadashivm/following{/other_user}","gists_url":"https://api.github.com/users/sadashivm/gists{/gist_id}","starred_url":"https://api.github.com/users/sadashivm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadashivm/subscriptions","organizations_url":"https://api.github.com/users/sadashivm/orgs","repos_url":"https://api.github.com/users/sadashivm/repos","events_url":"https://api.github.com/users/sadashivm/events{/privacy}","received_events_url":"https://api.github.com/users/sadashivm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-26T09:19:27Z","updated_at":"2016-12-27T22:15:19Z","closed_at":"2016-12-27T22:15:19Z","body":"Hi,\r\nthis is awesome scrollbar and i want to know how to apply scrollbar to body tag\r\n\r\ni included bellow files\r\n```\r\n<link rel=\"stylesheet\" href=\"https://unpkg.com/simplebar@2.0.1/umd/simplebar.css\" />\r\n<script src=\"https://unpkg.com/simplebar@2.0.1/umd/simplebar.js\"></script>\r\n```\r\nit is not working,  i written like\r\n```\r\n<!DOCTYPE html>\r\n<html>\r\n<head>\r\n    <title>Scrollbar demo</title>\r\n    <link rel=\"stylesheet\" href=\"src/simplebar.css\" />\r\n    <noscript>\r\n        <style>\r\n            [data-simplebar] {\r\n                overflow: auto;\r\n            }\r\n        </style>\r\n    </noscript>\r\n</head>\r\n\r\n\r\n<body data-simplebar>\r\n\r\n   \r\n\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n        <p>Some content</p>\r\n        <p>Some more content</p>\r\n  \r\n\r\n    <script src=\"src/simplebar.js\"></script>\r\n</body>\r\n</html>\r\n\r\n```\r\n\r\nand also i want to apply scrollbar both body and inner div then what should i write\r\npls tell me\r\n"},"comment":{"url":"https://api.github.com/repos/Grsmto/simplebar/issues/comments/269390364","html_url":"https://github.com/Grsmto/simplebar/issues/48#issuecomment-269390364","issue_url":"https://api.github.com/repos/Grsmto/simplebar/issues/48","id":269390364,"user":{"login":"Grsmto","id":527559,"avatar_url":"https://avatars.githubusercontent.com/u/527559?v=3","gravatar_id":"","url":"https://api.github.com/users/Grsmto","html_url":"https://github.com/Grsmto","followers_url":"https://api.github.com/users/Grsmto/followers","following_url":"https://api.github.com/users/Grsmto/following{/other_user}","gists_url":"https://api.github.com/users/Grsmto/gists{/gist_id}","starred_url":"https://api.github.com/users/Grsmto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grsmto/subscriptions","organizations_url":"https://api.github.com/users/Grsmto/orgs","repos_url":"https://api.github.com/users/Grsmto/repos","events_url":"https://api.github.com/users/Grsmto/events{/privacy}","received_events_url":"https://api.github.com/users/Grsmto/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T22:15:19Z","updated_at":"2016-12-27T22:15:19Z","body":"Hi,\r\nSimplebar is not intended to work on the `body` element for now.\r\nTry to embed your body content inside a div and apply Simplebar on that div.\r\nWrapping your web page inside a giant `overflow: auto` scroll is usually a bad practice as it's slower than the natural body scroll (I know Chrome and modern browsers did some improvements on that, but still)."}}
{"actor":{"display_login":"Grsmto"}}