iPad Safari's mapping of mouse events to touch events in image-maps

后端 未结 2 817
庸人自扰
庸人自扰 2021-02-08 10:03

My website makes extensive use of image-maps. The images are of pages from a medieval manuscript. The mouseOver event of the AREA tags has a tooltip attached to it, which displa

2条回答
  •  逝去的感伤
    2021-02-08 10:24

    I did find some information that partly explains the behavior described above:

    https://developer.apple.com/library/content/technotes/tn2010/tn2262/_index.html

    See section 5, especially.

    It appears that the touch+hold is "selecting" the image-map area. The link above says that user-select can be disabled, but it doesn't say what happens when the touch+hold gesture is used on an element where user-select has been disabled. It would be great if it could become the counterpart to mouseOver under those circumstances.

提交回复
热议问题