Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> A little-known fact about CSS on Mobile Safari: in certain circumstances, tapping a link once simulates a :hover state on that link, and tapping it twice has the effect of a click.

I have noticed that on websites that clearly don't intend that behavior, and it's quite annoying. Does anyone have any details about the exact circumstances required for this phenomenon?



This is Apple trying (and IMO succeeding admirably) to handle hover navigation in a touch environment. The alternative is to be totally accurate and never fire a hover or mouse event--thereby breaking many site navs completely.

Hover navs are a usability problem and should never have been built in the first place. Computer OS and application developers figured that out years ago but for some reason web developers never got the memo.


Yep, it can be pretty challenging to deal with: http://sitr.us/2011/07/28/how-mobile-safari-emulates-mouse-e...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: