I met two pits last week.
One is the jquery on method event bubbling, which has a problem in iOS.
$ ("Body"). On ("click", ". Contentup", Reply.replyonehandler);
In this sentence, there is no response in iOS. Baidu and Google, there is no too authoritative explanation. Just presumably, the bubble of iOS, if it has not been handler to handle the event, will only bubble to the inside of the body and not bubble to the body. So I had to add a children () to do it:
$ ("body"). Children (). On ("click", ". Contentup", Reply.replyonehandler);
The second is an absolutely positioned element, if there is an input box, input or textarea, get focus, automatically eject the input method, the absolute positioning of the element will be at the top of the screen to the input method of the top border of the middle position. This is also drunk, Android inside good. Had to use JS to engage, to scroll bound an event. No way.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Jquery.on () bubbling event bindings on iOS and Input boxes in the iOS absolute positioning element