Jump to content

After a click on my game javascript mouse events don't work on IE 10/edge only


bali33
 Share

Recommended Posts

Hi guys,

 

On my current game after an item is clicked I add mouseup/mousemove javascript events - It works perfectly on all browser except IE 10 and IE edge.

 

Events are added like this :

dom('body').on('mousemove',updateCurrentMousePosition);dom('body').on('mouseup',onStopMoveItem);

I tried to deactivate the preventDefault property but it changed nothing :

game.input.touch.preventDefault = false;

Any idea how I can fix that ? 

 

Thank you

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...