Bug Tracker

Opened 6 years ago

Last modified 5 years ago

#14741 closed feature

Handle Pointer Events — at Version 2

Reported by: Louis-Rémi Owned by:
Priority: low Milestone: 1.11.1/2.1.1
Component: event Version: 2.1.0
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by lrbabe)

"Pointer Events unifies the web event model for touch, mouse, and pen input. It is designed to address concerns with the Touch Events spec."

This microsoft-proposed spec is already implemented in IE10 and IE11, patches are about to land in Firefox and work is underway in Chromium. More importantly, Microsoft is providing a polyfill that allows to use those events today in all major browsers.

jQuery lacks only minor modifications to be compatible with these events and their polyfill:

  • pageX, pageY and other mouseevent-related properties aren't passed on to the handler
  • event delegation doesn't work with pointerenter and pointerleave

To clarify: this ticket isn't about making those events available in all browsers jQuery supports. The aim is simply to improve the compatibility of jQuery with the browsers that implemet them and with the Hand.js polyfill.

Change History (2)

comment:1 Changed 6 years ago by scottgonzalez

Resolution: plugin
Status: newclosed

Please don't send a PR to add this to core. If you'd like to help with this, you can send PRs to https://github.com/jquery/jquery-pointer-events which builds on top of Polymer.

We need to iterate outside of core's release cycle.

comment:2 Changed 6 years ago by lrbabe

Component: unfiledevent
Description: modified (diff)
Resolution: plugin
Status: closedreopened
Note: See TracTickets for help on using tickets.