rgomesf / jquery-snakey

jQuery Snake
https://code.google.com/p/jquery-snakey/
MIT License
1 stars 0 forks source link

Directional keys don't work in IE #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Isaak has pointed out the directional keys don't work in IE. This is a bug
that needs to be fixed.

Original issue reported on code.google.com by willis...@gmail.com on 2 Oct 2008 at 2:58

GoogleCodeExporter commented 9 years ago
Correct :-)

Original comment by iso...@gmail.com on 2 Oct 2008 at 3:33

GoogleCodeExporter commented 9 years ago
Fixed!

Issues were: 
- preventing the default behavior of the document keydown event caused issues 
with
MSIE; added a conditional to not prevent the default if it's MSIE (which is a 
hack,
and need to research further)
- I also fixed an unrelated issue with IE displaying the snake segments larger 
than
they should be, added overflow:hidden to .snake css class which sorted that 
out. 

Original comment by willis...@gmail.com on 2 Oct 2008 at 4:43