Jump to content

Pointer Event - Bug or Anything Else ?


ian
 Share

Recommended Posts

Can anybody explain me why pointer event (mouse and touch events) does not work in Edge browser ? It Works well with Chrome FireFox Opera!

What is difference? Is there any better way to handle (mouse and touch events) in all browser same?

You can try and see difference between Edge and Chrome/Fierefox/Opera in this example/game. (here I use hand.min.js) Is there any better alternative of hand.min.js ??? Is there any bug in Edge browser or BabylonJS's hand.js?

https://ajna4taiga.tk/PerplexusShadowOpen/PerplexusProd.html


Edge problem: When I release any of WSAD key it has longer delay only in Edge (Windows) Browser. Is there any batter way to handle (mouse/touch evnets) with javascript?
 

greetings
Ian

Link to comment
Share on other sites

Edge supports pointer events and doesn't need any polyfill. But the issue you're describing doesn't seem linked to pointer events but to keyboard inputs (not handled by pointer events).

The bug you're describing has been solved in the latest version of Windows 10: Creators Update. What's your current version of Windows 10?

Regarding hand.js, it has been deprecated in favor of jQuery PEP which works almost the same. You just need to set the touch-action="none" HTML property on canvas element. But again your problem is not linked to pointer events anyway.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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