Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ESC in Firefox breaks sockjs connection #18
As found out by the Socket.io people:
Sure. This is a well known problem (that's why it's documented). Fixing this is out of the scope for SockJS - that would require messing with user key events, which isn't SockJS responsibility by any means.
I haven't run this in anger, but just catching the esc key in jquery seems to be working fine, please tell me if that works for you:
See also this bugzilla discussion. https://bugzilla.mozilla.org/show_bug.cgi?id=614304
@majek Your workaround causes that F5 is not working anymore in Firefox (tested with FF 11.0 in Ubuntu Linux 64 Bit).
Better use this (taken from the bugzilla link) as a workaround:
referenced this issue
Oct 19, 2012
added a commit
Feb 11, 2013