Opened 9 years ago

Last modified 21 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)

Attachments (1)

iphone.patch (3.6 KB) - added by paul 9 years ago.
Patch that makes most interaction plugins work in Safari iPhone

Download all attachments as: .zip

Change History (21)

Changed 9 years ago by paul

Attachment: iphone.patch added

Patch that makes most interaction plugins work in Safari iPhone

comment:1 Changed 8 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 8 years ago by rdworth

Component: ui.coreui.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 7 years ago by Scott González

See also #5740.

comment:6 Changed 7 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 7 years ago by Scott González

#7001 is a duplicate of this ticket.

comment:9 Changed 6 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 6 years ago by Jörn Zaefferer

Status: newopen

Being addressed as part of the interactions rewrite.

comment:11 Changed 6 years ago by Scott González

#8202 is a duplicate of this ticket.

comment:12 Changed 6 years ago by Scott González

#8271 is a duplicate of this ticket.

comment:13 Changed 5 years ago by Scott González

Milestone: 1.next2.0.0

comment:14 Changed 5 years ago by Scott González

#8709 is a duplicate of this ticket.

comment:15 Changed 4 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 4 years ago by Scott González

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

comment:17 Changed 3 years ago by tj.vantoll

Summary: Land iPhone support for all interactionsLand iOS/Android support for all interactions

comment:18 Changed 3 years ago by tj.vantoll

#10618 is a duplicate of this ticket.

comment:19 Changed 2 years ago by Scott González

Summary: Land iOS/Android support for all interactionsInteractions: 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 21 months ago by Scott González

#14926 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.