svnlabs / google-caja

Automatically exported from code.google.com/p/google-caja
0 stars 1 forks source link

Feature request: support for window resize events #1806

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Window resize events are not firing inside cajoled code.

My goal is to have three divs vertically stacked, where the top and bottom ones 
have fixed heights and middle one is liquid so I'm catching window resize 
events to dynamically set the height of the middle div.

Original issue reported on code.google.com by e...@google.com on 11 Jul 2013 at 7:51

GoogleCodeExporter commented 9 years ago
To support the resize listener cleanly, we need issue 1792 fixed (straighten 
out event listeners on document/window).

The size of the container is not always influenced by the size of the window, 
but it often is. It would be a reasonable default to simply forward resize 
events from the window to the tame window, but we might want to give control of 
this, or possibly responsibility for it, to the host page.

In the particular case of Google Apps Script, forwarding is appropriate.

Original comment by kpreid.switchb.org on 11 Jul 2013 at 8:00

GoogleCodeExporter commented 9 years ago

Original comment by erights on 11 Jul 2013 at 10:28

GoogleCodeExporter commented 9 years ago

Original comment by kpreid@google.com on 7 Nov 2013 at 9:21