0

I have a jQuery modal with a message and a "OK" button with the class, "simplemodal-close" .

It closes the modal on desktop browsers and android devices.

It fails on iPhone 5s and iPhone 6s with iOS version 8. It works on those devices once the browser is minimised and brought back to view.

This is how i am opening the modal:

JQ('#alertPopup').modal({appendTo : '#customPop'});

Why does it behave like this? Any solution ?

Learner
  • 315
  • 1
  • 5
  • 15
  • Does your "button" have cursor: pointer; on it? http://stackoverflow.com/questions/25354536/bootstrap-modal-does-not-work-on-ios-devices – trainoasis Aug 04 '15 at 07:38
  • @trainoasis Hi, I tried adding it seeing your comment. It didn't solve the issue. – Learner Aug 04 '15 at 11:18
  • i got it working finally. i changed the "button" tag to "span" and it worked. still not sure why it wouldnt work before. – Learner Aug 06 '15 at 10:56

0 Answers0