I have a simple click event, but for some reason it doesn’t work on iOS.
I have tried the cursor: pointer; solution but it doesn’t work.
When i try it on my phone it looks like the click is registered, but the inner div wont slideDown.
Check out my jsBin http://jsbin.com/muharijofu/1/edit?html,css,js,output
Just a shot in the dark, we had a user recently who had to add onClick=“” to their element to be clicked in order for it to recognize it.
Completely shot in the dark but hopefully it helps.
Tried it now but no difference=/
OzRamos
December 12, 2014, 5:31pm
4
Hmm, this might be the result of an old quirk with jQuery , try adding “cursor: pointer” to the elements style.
Works on my iPad - iOS 8.1.2
Apart from this, try using
.on("click touchstart", function(){
...
});
I’ve just gone to http://jsbin.com/muharijofu/1/edit?html,css,js,output on my ipad and the click seems to work perfectly well, so it may not be an iOS issue afterall.
system
Closed
March 14, 2015, 6:21am
8
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.