{"action":"closed","issue":{"url":"https://api.github.com/repos/web2py/web2py/issues/1437","repository_url":"https://api.github.com/repos/web2py/web2py","labels_url":"https://api.github.com/repos/web2py/web2py/issues/1437/labels{/name}","comments_url":"https://api.github.com/repos/web2py/web2py/issues/1437/comments","events_url":"https://api.github.com/repos/web2py/web2py/issues/1437/events","html_url":"https://github.com/web2py/web2py/issues/1437","id":174410741,"number":1437,"title":"examples application - slow scroll page in Firefox browser","user":{"login":"carpaIdea","id":3496662,"avatar_url":"https://avatars.githubusercontent.com/u/3496662?v=3","gravatar_id":"","url":"https://api.github.com/users/carpaIdea","html_url":"https://github.com/carpaIdea","followers_url":"https://api.github.com/users/carpaIdea/followers","following_url":"https://api.github.com/users/carpaIdea/following{/other_user}","gists_url":"https://api.github.com/users/carpaIdea/gists{/gist_id}","starred_url":"https://api.github.com/users/carpaIdea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carpaIdea/subscriptions","organizations_url":"https://api.github.com/users/carpaIdea/orgs","repos_url":"https://api.github.com/users/carpaIdea/repos","events_url":"https://api.github.com/users/carpaIdea/events{/privacy}","received_events_url":"https://api.github.com/users/carpaIdea/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-01T00:34:16Z","updated_at":"2016-09-21T20:58:05Z","closed_at":"2016-09-21T20:58:05Z","body":"With reference to\r\nhttps://groups.google.com/d/msg/web2py/AWd6eMh9j6k/o2cqTdpuEgAJ\r\n\r\nPossibile solution\r\nThis css rule in stupid.ccs should be enough in order to  prevent android horizontal scrolling\r\n`html, body {max-width: 100vw; overflow-x: hidden}`\r\n\r\nThe issue should disappear by commented out (or removing) in applications/examples/views/layout.html\r\n\r\n```\r\n <script>\r\n    // prevent android horizontal scrolling\r\n    window.addEventListener(\"scroll\", function(){window.scroll(0, window.pageYOffset);}, false);\r\n  </script>\r\n```\r\n\r\nbut you have to test if it works in android devices.  \r\n"}}
{"actor":{"display_login":"niphlod"}}