Since #473, when an app first loads, app-frames has a width of 300px (tested with Chrome/Firefox) caused in part by its absolute positioning. Adding width: 100% appears to fix the issue.
This can be problematic for apps whose initial state depends on the initial window width (such as a Map).
Since #473, when an app first loads, app-frames has a width of 300px (tested with Chrome/Firefox) caused in part by its absolute positioning. Adding
width: 100%
appears to fix the issue.This can be problematic for apps whose initial state depends on the initial window width (such as a Map).
EDIT: The 300px width is the default iframe's width (http://stackoverflow.com/questions/5871668/default-width-height-of-an-iframe). Makes sense, since app iframe's manually set 100% width rule won't go past its parent due to its absolute position.