PDA

View Full Version : How to catch the browsers zoom event?



siebe vos
3 Nov 2011, 3:09 AM
Does anyone know how to catch the browsers zoom event (Ctrl+ / ctrl-)? This is not supported by Ext4 (as far as I know). For instance the resize event on a Window is not fired when I zoom in or out. I need this to prevent that the borders of a modal window disappear behind the bottom Windows toolbar.

Thanks!
-Siebe

siebe vos
3 Nov 2011, 3:17 AM
Just found out that this event is fired on the viewport: resize event (because it always follows the browsers size). I will use a notification mechanism (pubsup) to notify the underlying window (when rendered).