[wp-trac] [WordPress Trac] #22595: iPad Image Un-Select Alternates Between 1 and 2 Taps

WordPress Trac noreply at wordpress.org
Fri Nov 30 23:42:23 UTC 2012


#22595: iPad Image Un-Select Alternates Between 1 and 2 Taps
-------------------------------------+--------------------
 Reporter:  miqrogroove              |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  low                      |   Milestone:  3.5
Component:  Media                    |     Version:  trunk
 Severity:  minor                    |  Resolution:
 Keywords:  needs-testing has-patch  |
-------------------------------------+--------------------

Comment (by azaozz):

 mobile-events-test.html​ is a small test of mouse events for touchscreen
 devices/browsers.

 Results for iOS Safari:
 {{{
 touchstart
 touchend
 mouseover
 mousedown
 mouseup
 click
 ------------------
 touchstart (prevented)
 touchend
 ------------------
 touchstart
 touchend (prevented)
 ------------------
 }}}

 and for Android 2.1 (Kindle Fire 1)
 {{{
 touchstart
 touchend
 mouseover
 mousedown
 mouseup
 click
 ------------------
 touchstart (prevented)
 touchend
 ------------------
 touchstart
 touchend (prevented)
 mouseover
 mousedown
 mouseup
 click
 ------------------
 }}}

 Preventing default for `touchstart` cancels the emulated mouse events in
 both, preventing it for `touchend` cancels them in iOS but not in Android
 2.1. Would be good to see what happens in Android 4 :)

 Looking at the ticket further: the unselecting of images/attachments by
 touching the checkmark seems to work properly in iOS Safari now. We
 probably can attach it to both `touchstart` and `click`, and cancel both.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22595#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list