maqetta/maqetta — Issue #1144: overflow:hidden on BODY for dojox.mobile
Author: JonFerraiolo
Created: 2011-11-03 21:06:49+00:00
State: open
Labels: Mobile, Priority Med, Visual Editor

@peller, @jhpedemonte, @billreed63

Assigning to me with Priority-Medium just to investigate.

Try these steps on Chrome:

* New HTML File
* set device to iPhone
* Add a View
* Add a RoundRectList

Result=> vertical scrollbar appears

The reason for the scrollbar is that overflow:y is not set to hidden by any of the stylesheets and the UL on the RoundRectList has the following assigned to it:

```
-webkit-margin-before: 1em;
```

This causes the RoundRectList to extend the vertical height of the page by 1em so that the BODY's height is now 100% (== 480px) + 1em.

The scrollbar goes away if overflow-y is set to hidden. But the question is whether there is a good way to set overflow-y to hidden. One possibility is content.css.