In working on my AIM client:
https://www.iphonechatclient.com <- shameless plug
When you have an input field at the bottom of your page, a gap will
show between the field and the keyboard when a user is typing. They
have to manually scroll to eliminate it.
I assume this is a bug in mobileSafari, but for now you can eliminate
the gap with this little piece of code:
YOURFIELD.onfocus = function() {setTimeout(function()
{window.scrollTo(0, 300);},500);};
Hope that helps someone!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---