Why/when do I have to tap twice to trigger click on iOS

前端 未结 11 2261
一生所求
一生所求 2020-12-13 17:49

Ok I feel like I\'m crazy...

I\'m looking at Mobile Safari on iOs 6.0. I can\'t seem to establish any rhyme or reason as to when tapping on an element will trigger

11条回答
  •  感情败类
    2020-12-13 18:34

    iOS will trigger the hover event if an element is "display: none;" in the normal state and "display: block;" or inline-block on :hover.

提交回复
热议问题