PDA

View Full Version : [FIXED][2.x/3.x] Ext.Window not "focusable" in Chrome / Safari



mystix
26 Apr 2009, 6:49 PM
Ext.Window's focusEl css (i.e. x-dlg-focus) requires both a width and a height of at least 1 pixel in order for it to be "focusable" in both Safari & Chrome.

test case:
http://innovacode.com/extjs/Ext.ux.IconAlive/nokey_pb.html

related discussion:
321759

current css:


.x-dlg-focus{-moz-outline:0 none;outline:0 none;width:0px;height:0px;overflow:hidden;position:absolute;top:0;left:0;}


fixed css:


.x-dlg-focus{-moz-outline:0 none;outline:0 none;width:1px;height:1px;overflow:hidden;position:absolute;top:0;left:0;}

evant
26 Apr 2009, 9:19 PM
Fixed this (and another) bug in SVN. Thanks.

mystix
26 Apr 2009, 9:36 PM
i think there's a bug in the 2.x branch bugfix -- there's no ext-webkit css class added to the document <body> in the private initExtCss() function. might want to add that in for the 2.x branch.

evant
26 Apr 2009, 10:09 PM
The 2.x fix is different, I just added 1px/1px to the dlg-focus style.

mystix
26 Apr 2009, 10:13 PM
alritey, just saw the latest check-in. works fine now :)