Bug Tracker

Modify

Ticket #6753 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

Safari Mobile dblclick?

Reported by: TylerStacie2005 Owned by:
Priority: undecided Milestone: 1.4.3
Component: event Version: 1.4.2
Keywords: safari mobile dblclick Cc:
Blocking: Blocked by:

Description

The jQuery dblclick demo doesn't work on safari mobile.

 http://api.jquery.com/dblclick/

HTTP_USER_AGENT: Mozilla/5.0 (iPod; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7 HTTP_ACCEPT_LANGUAGE: en-us

Change History

comment:1 Changed 3 years ago by mofle

Safari Mobile doesn't support dblclick.

"When the iPhone first arrived, one of the coolest things that Apple did was to have Mobile Safari display a miniature view of an entire web site, allowing users to double tap and zoom into the portions of the site that they wanted to see. This clever solution to navigate large pages in a small screen came with a price.

If your site takes advantage of the double click functionality, when it is displayed on Mobile Safari you loose that capability, your clicks become touch events and the double click (double-tap) now belongs to the browser."

Solution:  http://www.sanraul.com/lang/en/2010/08/01/implementing-doubletap-on-iphones-and-ipads/

comment:2 Changed 3 years ago by addyosmani

  • Priority set to undecided
  • Status changed from new to closed
  • Resolution set to invalid

Closing as this is not a jQuery bug. The iPhone and iPad (as mentioned) do not support the concept of a double click. The suggested URL above does however provide one of the possible solutions for getting double-tap to work.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.