nt1m / material-framework

[Unmaintained] An easy to use material design based framework.
http://nt1m.github.io/material-framework
MIT License
388 stars 86 forks source link

Ripple doesn't work on iOS #136

Open nt1m opened 9 years ago

PalmerAL commented 9 years ago

That's basically impossible. Ios doesn't have active or hover states. You could probably get it to work with some js touch events, but it will end up very complicated.

nt1m commented 9 years ago

I'll fix this with the ripple JS helper.

nt1m commented 9 years ago

I just found this simple hack : http://alxgbsn.co.uk/2011/10/17/enable-css-active-pseudo-styles-in-mobile-safari/ Not sure if it still works today.