TomFiveThumbs Posted June 10, 2014 Share Posted June 10, 2014 I have a game inside an iframe, and I've set up some key captures to stop the screen moving aroundgame.input.keyboard.addKeyCapture(Phaser.Keyboard.SPACEBAR);game.input.keyboard.addKeyCapture(Phaser.Keyboard.UP);game.input.keyboard.addKeyCapture(Phaser.Keyboard.DOWN);game.input.keyboard.addKeyCapture(Phaser.Keyboard.LEFT);game.input.keyboard.addKeyCapture(Phaser.Keyboard.RIGHT);This works great in Chrome and Firefox But Internet Explorer ignores these keyCapture commands and just continues to scroll the page and not pass the key press on to the game. Anyone have any idea why? Besides the standard "IE is shit" reason? spinnerbox 1 Link to comment Share on other sites More sharing options...
TomFiveThumbs Posted June 12, 2014 Author Share Posted June 12, 2014 It was IE specific, had to make a focus call outside the iframe to make sure it was forced. Link to comment Share on other sites More sharing options...
Recommended Posts