Skip to main content

Search and Top Navigation

#4143 open feature ()

Opened February 13, 2009 02:22PM UTC

Last modified March 02, 2016 05:01PM UTC

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 February 13, 2009 02:24PM UTC.

Patch that makes most interaction plugins work in Safari iPhone

Change History (20)

Changed May 14, 2010 07:13AM UTC by dmuir comment:1

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?

Changed May 14, 2010 10:37AM UTC by rdworth comment:2

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.

Changed July 08, 2010 04:55PM UTC by cscott comment:3

Changed July 30, 2010 11:54AM UTC by jzaefferer comment:4

Changed October 27, 2010 07:52PM UTC by scottgonzalez comment:5

See also #5740.

Changed January 27, 2011 12:29PM UTC by oleg008 comment:6

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.

Changed January 27, 2011 12:30PM UTC by oleg008 comment:7

Changed February 16, 2011 06:20PM UTC by scottgonzalez comment:8

#7001 is a duplicate of this ticket.

Changed December 22, 2011 02:20PM UTC by djamshed comment:9

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

Changed February 27, 2012 04:06PM UTC by jzaefferer comment:10

status: newopen

Being addressed as part of the interactions rewrite.

Changed March 20, 2012 01:25AM UTC by scottgonzalez comment:11

#8202 is a duplicate of this ticket.

Changed April 24, 2012 12:03AM UTC by scottgonzalez comment:12

#8271 is a duplicate of this ticket.

Changed October 03, 2012 03:38PM UTC by scottgonzalez comment:13

milestone: 1.next2.0.0

Changed October 22, 2012 02:06PM UTC by scottgonzalez comment:14

#8709 is a duplicate of this ticket.

Changed February 08, 2014 06:15PM UTC by matteosistisette comment:15

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?

Changed February 09, 2014 12:03AM UTC by scottgonzalez comment:16

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

Changed September 21, 2014 04:27PM UTC by tj.vantoll comment:17

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

Changed September 21, 2014 04:29PM UTC by tj.vantoll comment:18

#10618 is a duplicate of this ticket.

Changed October 13, 2015 08:07PM UTC by scottgonzalez comment:19

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.

Changed March 02, 2016 05:01PM UTC by scottgonzalez comment:20

#14926 is a duplicate of this ticket.