06-02-2010, 12:05 PM #1
iPad Safari : mouse-to-touch event-mappings with image-map
- Member Since
- Jun 02, 2010
I was just looking at an iPad in the Apple store, seeing how my website worked on it. I was very impressed by the iPad. But I really don't understand a particular engineering decision regarding how the mouse events are being mapped to finger/touch events in Safari.
SCENARIO: iPad Safari displaying a web page that has an image map with a tooltip associated with the mouseOver event of the <area>.
The iPad Safari browser clearly was responding to both fingerDown and fingerTap, and in different ways. When I tapped an area of the image-map, the tooltip that was connected to the mouse-hover event was displayed, and remained visible. When I held my finger down on an area of the image-map, the area changed color. So there's a 'finger-down' event somewhere.
QUESTION: Why isn't finger-Down the iPad-Safari counterpart for mouseOver? It seems a more likely candidate than Tap when mapping the mouse events:
MouseClick : FingerTap (i.e. finger down and then immediately up)
MouseOver : FingerDown (finger down and stays on the spot)
If the tooltip had been displayed upon FingerDown, it would have been able to be removed on FingerUp (i.e. counterpart to mouse-out), which is the typical behavior.
Could someone please enlighten me about the thinking process that led to these (IMO unintuitive) mouse-to-touch event-mappings?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By spicolli1976 in forum iPad Hardware and AccessoriesReplies: 6Last Post: 06-04-2015, 08:12 PM
By malcolmi in forum iOS and AppsReplies: 0Last Post: 07-24-2012, 12:51 PM
By pavinder in forum Images, Graphic Design, and Digital PhotographyReplies: 2Last Post: 06-22-2011, 04:26 PM
By mgwalk in forum OS X - Apps and GamesReplies: 0Last Post: 09-20-2008, 10:42 PM