I use the jQuery Validate plugin to validate form input (user information, address, credit card information, etc.).)
The form is located on the mobile version of the site.
When filling out the form and scrolling down to the "buy" button at the bottom of the page, if you have an invalid field (for example, you forgot to enter any content), clicking the "buy" button focuses the invalid input and scroll to that input. All this is done using the jQuery Validation plugin.
This works in most mobile browsers that I tested (Android / Chrome, Windows Phone, mobile Safari iOS 7 and below). However, any Safari mobile browsers on iOS8 + do not scroll. The input is focused and the on-screen keyboard appears, however, scrolling to the input does not occur .
I explored several other topics discussing similar, but slightly different problems, and can't find a solution to the problem!
Any help will be received on this!
source
share