Weird input behaviour for TextField on HTML5

I have a textfield at the top of the screen and when I focus on it the whole screen moves up to display the keyboard (running it on an iPad - the only place it needs to). This way, I don’t see anything I’m typing. Is there a way to fix this? I know support for this kind of thing is new in HTML5, but was wondering if there is something I can do to make it acceptable. Thank you.

It was my bad. I was using a function to automatically re-dimension the screen and realized if I disable it the behaviour is normal. If anyone could delete this thread…