06-09-2013 01:33 AM
When i add the following meta tag to my app's html i get space reserved for the scroll bar if the content extends beyond the viewport.
It does not even appear to work every time anyway but is this correct behaviour in a webworks app?
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
06-09-2013 01:09 PM
If you use the overflow CSS tag you can control this stuff
e.g. if you never want any scroll just use overflow: none
As you don't mention the OS its a bit hard to give you the perfect answer
I've see some nice solutions that measure the scrollbar size but they are browser dependent and usually require the odd tweak