{"action":"created","issue":{"url":"https://api.github.com/repos/takien/jPushMenu/issues/3","labels_url":"https://api.github.com/repos/takien/jPushMenu/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/takien/jPushMenu/issues/3/comments","events_url":"https://api.github.com/repos/takien/jPushMenu/issues/3/events","html_url":"https://github.com/takien/jPushMenu/issues/3","id":22571331,"number":3,"title":"Scroll function in smaller screen size","user":{"login":"axionk","id":5925962,"avatar_url":"https://avatars.githubusercontent.com/u/5925962?v=3","gravatar_id":"","url":"https://api.github.com/users/axionk","html_url":"https://github.com/axionk","followers_url":"https://api.github.com/users/axionk/followers","following_url":"https://api.github.com/users/axionk/following{/other_user}","gists_url":"https://api.github.com/users/axionk/gists{/gist_id}","starred_url":"https://api.github.com/users/axionk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axionk/subscriptions","organizations_url":"https://api.github.com/users/axionk/orgs","repos_url":"https://api.github.com/users/axionk/repos","events_url":"https://api.github.com/users/axionk/events{/privacy}","received_events_url":"https://api.github.com/users/axionk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-11-13T04:59:53Z","updated_at":"2015-04-16T03:19:46Z","closed_at":null,"body":"Hi,\r\n\r\nThe jPushMenu is really great! However if the screen size is smaller (iphone screen), the side menu is not scrollable, eventhough the content of the page is scrollable.\r\n\r\nCan you provide the code to make the menu becomes scrollable?\r\n\r\nThanks!!"},"comment":{"url":"https://api.github.com/repos/takien/jPushMenu/issues/comments/93627117","html_url":"https://github.com/takien/jPushMenu/issues/3#issuecomment-93627117","issue_url":"https://api.github.com/repos/takien/jPushMenu/issues/3","id":93627117,"user":{"login":"nexusgx","id":3536016,"avatar_url":"https://avatars.githubusercontent.com/u/3536016?v=3","gravatar_id":"","url":"https://api.github.com/users/nexusgx","html_url":"https://github.com/nexusgx","followers_url":"https://api.github.com/users/nexusgx/followers","following_url":"https://api.github.com/users/nexusgx/following{/other_user}","gists_url":"https://api.github.com/users/nexusgx/gists{/gist_id}","starred_url":"https://api.github.com/users/nexusgx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nexusgx/subscriptions","organizations_url":"https://api.github.com/users/nexusgx/orgs","repos_url":"https://api.github.com/users/nexusgx/repos","events_url":"https://api.github.com/users/nexusgx/events{/privacy}","received_events_url":"https://api.github.com/users/nexusgx/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T03:19:46Z","updated_at":"2015-04-16T03:19:46Z","body":"I was able to fix this by adding a height setting event to the window object to set the menu height to match the window height. Add the following code to line 17 of the plugin file.\r\n\r\n\t\t$(window).on('resize',function(){\r\n\t\t\t$('.cbp-spmenu').height($(window).height()+'px');\r\n\t\t});\r\n\t\t$(window).trigger('resize');"}}