2 Jun 2010 6:38 AM #1
Ext.Window show() works incorrectly in IE7/8
I'm using Ext.Window to show images from thumbnails. It also contains toolbar with next/prev buttons to browse the images. In FF or Chrome works everything fine.
In IE I encountered two errors:
1) When I click the magnfying glass icon which triggers the functions that creates Ext.Window, nothing happens. On second click, window is finally shown. (debugger gets to the line winThumbnail.show()
2) Clicking anywhere on the Ext.Window including close button, header or the next/prev arrows, window becomes grey and the whole pages doesn't respond. Looks like some layer covers it.
I have almost the same functionality (functions for generating Ext.Window and it's template to show buttons are exactly the same) on another page and it works even in IE.
Any ideas what could be possibly wrong?
Thanks in advance.
3 Jun 2010 2:41 AM #2
I figured it out by myself.
There is some error in positioning Ext.Window. For some reason it's initial x-position was -5000. Even center() method does not work if the window has such position (calculates -2500). After setting x-position to 5000, center worked fine and the problem is solved.
By Piotr.B in forum Ext GWT: Bugs (1.x)Replies: 6Last Post: 7 Apr 2009, 4:38 AM
By srajakaruna in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 20 Nov 2008, 8:22 PM
By twosouth in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 11 Nov 2008, 11:12 PM
By SpiderMac in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 12 Jun 2008, 6:53 PM
By mrras25 in forum Ext 2.x: Help & DiscussionReplies: 14Last Post: 17 Jan 2008, 10:03 AM