pentaho/pentaho-platform — pull request #774 by rfellows (2013-08-08 14:08:20+00:00)
Title: ANALYZER-2108 - Visualizations jump/flash on initial load and tab change

It was calculating the height required to set that div twice. once immediately, without accounting for the height PUC header (file menu, perspective switcher, and such). So, it would first set it's height to the same height of the browser window. Then, on a timer, it was recalculating the height and setting it 100 ms later, this time accounting for the PUC header height as an offset. This resulted in the "bouncing" effect.

@mdamour1976 can you review this since you originally wrote this code. Not sure why it was first calculating the height without accounting for the header. let me now if there was a specific reason, then i can test it and/or work around it.