View Full Version : Ext.window.Window shifts viewport out the the way when partially off screen

4 Aug 2014, 11:52 AM

Wondering if anyone know of a quick fix for the below issue. Seems to only occur in IE >= 9 and ExtJS 4.2.1/4.2.2

When I have a window (not constrained to the document) which is moved outside of the current page, it shifts the whole thing over. For example, if I move a window to the right, the left of the viewport is cut off. I know about the constrain and constrainTo configs - I do not want to force the user to only have a window within the app bounds. This works fine in FF and Chrome.

Here's a fiddle I created as an example: https://fiddle.sencha.com/#fiddle/8en


Normal behavior when the window is on screen:

Screen shifts when window is partially off screen:

I've seen similar issues in searches, but none of the fixes worked properly. Most of them were just related to setting the overflow styles and scroll styles of the document body to prevent any sort of overflow.

Any help would be greatly appreciated.


Gary Schlosberg
5 Aug 2014, 7:58 AM
Sounds like this is a known issue: