How come I need to add a touch event to my element for it to enable hover styles?
Is this normal? Sure feels a bit wonky
This is what I have to add to make :hover work, if I don’t no :hover style is set
sorry for the coffeescript
@button.$el.on('touchstart', ()->
console.log("touch started")
)
Ok so i took a look at what Roddy of the Frozen Peas linked and found that you could add ‘ontouchstart=””‘ to the element to enable hover styles.
What I realised though, was that it’s enough to add it to the super parent, and it will bubble down to all child elements, neat-O!