PDA

View Full Version : [CLOSED] ESC doesn't always close window



paulc
May 08, 2012, 3:29 PM
I have a modal window created from a partial view, however this issue can be seen here:
http://examples2.ext.net/#/XRender/Basic/New_Window/

Click the button to open the window and pressing Esc doesn't close it (in Chrome)

But, do the same thing in V1 and it does work:

http://examples1.ext.net/#/XRender/Basic/New_Window/

Daniil
May 08, 2012, 5:41 PM
Hi,

Confirmed, thanks for the report. I will report it to Sencha.

For now I can suggest the following solution.

Example

<ext:Window runat="server" Html="Press Esc">
<Listeners>
<AfterRender Handler="this.getKeyMap().enable();" />
</Listeners>
</ext:Window>

Daniil
May 08, 2012, 5:54 PM
I will report it to Sencha.

Here is the report.
http://www.sencha.com/forum/showthread.php?203057

I will monitor that thread and update the current one.

Daniil
Jun 15, 2012, 5:36 PM
Sencha has opened a bug ticket.

Daniil
Aug 27, 2012, 8:02 AM
The bug has been fixed in ExtJS 4.1.1 and included into the Ext.NET 2.1 branch.

Thanks again for the report!