Thursday, 8 August 2013

Styled submit button resets on tap when on iOS safari/webview

Styled submit button resets on tap when on iOS safari/webview

I have a webpage with a form and a styled input[type="submit"] button.
When viewed on iOS safari or an app's webview it looks great, however,
there seems to be a hitarea issue where if the user taps the bottom
portion (or just off the bottom) of the submit button, it changes it's
style and does not click/submit/touchstart/etc. until the user taps this
ugly-styled button once again.
You can try it live at (the mobile styles are not cleaned just yet, but
it's reproducible): https://springpad.com/forgot.action
Has this happened to anyone else? I cannot seem to figure out what is wrong.

No comments:

Post a Comment