Opened 7 years ago

Last modified 3 months ago

#4143 open feature

Interactions: Support Pointer Events

Reported by: paul Owned by:
Priority: major Milestone: 2.0.0
Component: ui.mouse Version: 1.6rc6
Keywords: Cc:
Blocked by: Blocking:

Description

jQuery UI should support touchscreen platforms like iPhone and Opera for Wii. The attached patch adds full iPhone support to $.ui.mouse.

Only two plugins need additional patches in order to work:

  • Resizable (uses mouseover for handle detection, should be refactored anyway)
  • Selectable (Lasso works fine, clicking does not)

Change History (20)

comment:1 Changed 6 years ago by dmuir

Any idea when this will be included? I read in an Old Nabble discussion that it was going to be in 1.8. I guess not?

comment:2 Changed 6 years ago by rdworth

  • Component changed from ui.core to ui.mouse

Here's the nabble discussion: http://old.nabble.com/jQuery-UI-Support-on-the-iPhone-td22011162s27240.html

Here's a more recent forum thread: http://forum.jquery.com/topic/drag-and-drop-on-the-iphone-ipod

Some progress was made before 1.8 final, but iPhone support will not be added until it is more complete. It is something that's being worked on.

comment:5 Changed 6 years ago by scottgonzalez

See also #5740.

comment:6 Changed 5 years ago by oleg008

I tried to do the same some time ago: https://github.com/kof/labs/blob/master/touch/

Demo file:///Users/kof/work/projects/kof/labs/touch/index.html

The good thing is there is no need to change original mouse widget, my wrapper just can be added.

It works but it could be slow because its still not hardware accelerated. To do that all widgets changing position of element over top, left props have to move this stuff into extra method, we can then overwrite them with css3 transitions.

comment:8 Changed 5 years ago by scottgonzalez

#7001 is a duplicate of this ticket.

comment:9 Changed 4 years ago by djamshed

oleg008's patch doesn't work on the range slider (dual slider). I found another one that does: https://github.com/furf/jquery-ui-touch-punch

comment:10 Changed 4 years ago by jzaefferer

  • Status changed from new to open

Being addressed as part of the interactions rewrite.

comment:11 Changed 4 years ago by scottgonzalez

#8202 is a duplicate of this ticket.

comment:12 Changed 4 years ago by scottgonzalez

#8271 is a duplicate of this ticket.

comment:13 Changed 4 years ago by scottgonzalez

  • Milestone changed from 1.next to 2.0.0

comment:14 Changed 4 years ago by scottgonzalez

#8709 is a duplicate of this ticket.

comment:15 Changed 2 years ago by matteosistisette

Has anybody got at least a working slider? This was opened 5 years ago and slider is still unusable on an ipad!! I guess there is some quick hack somewhere out there?

comment:16 Changed 2 years ago by scottgonzalez

Use Touch Punch until the interaction rewrite lands with the Pointer Events polyfill.

comment:17 Changed 21 months ago by tj.vantoll

  • Summary changed from Land iPhone support for all interactions to Land iOS/Android support for all interactions

comment:18 Changed 21 months ago by tj.vantoll

#10618 is a duplicate of this ticket.

comment:19 Changed 8 months ago by scottgonzalez

  • Summary changed from Land iOS/Android support for all interactions to Interactions: Support Pointer Events

Changing this ticket to the actual solution we're going with. We won't explicitly support Touch Events; for browsers that implement Touch Events but not Pointer Events, a polyfill such as PEP will be required.

comment:20 Changed 3 months ago by scottgonzalez

#14926 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.