Search code examples
androidgoogle-chromepseudo-class

:active pseudo-class doesn't work in Chrome on Android


:active pseudo-class works perfectly in mobile Safari and stock Android browser, but fails in Chrome on Android. (Tested on Nexus 4 Chrome, iPhone 4S Safari, Galaxy SII Browser.)

Any idea why?


Solution

  • The :active pseduo works on Chrome for Android, but only after a long press (and cancel of the dialog), it doesn't work for any other element as far as I can tell. It looks like a bug, and I have just raised it with the team.

    Example: http://jsbin.com/itikox/2