Vandzelyak / iscroll-js

Automatically exported from code.google.com/p/iscroll-js
MIT License
0 stars 0 forks source link

Input control issue in android #63

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, first of all,Congrats on developing such a good script.It is doing really 
nice on iphone. but somehow not working great on android. I am using android 
2.2 and facing issues with input controls like textbox.
With fixed header and footer, text box is jumpy when typing in the textbox. To 
overcome this issue I decided to disable the iscroller and remove fixed header 
and footer classes frome header, footer,scroller div as soon as typing starts. 
This saves me from jumpy issue. However now i am start facing another issue in 
which my footer remains on the top even after keyboard is pop out. I dont know 
what to do with this. Please help if any one knows the solution. Moreover 
please let me know if have done wrong in handling jumpy issue. my whole html 
file is attached.
(Jumpy issue can be recreated by commenting out the 
document.addEventListener('DOMContentLoaded', loginLoaded, false); line at the 
top of script)

Original issue reported on code.google.com by Zafar.Yo...@gmail.com on 2 Aug 2011 at 7:29

GoogleCodeExporter commented 8 years ago
Sorry for duplication but i am unable to find a place to edit the issue and i 
thought i need to elaborate my issue a little more.
"
With fixed header and footer, text box is jumpy when typing in the textbox.
To overcome this issue I decided to disable iscroller and remove fixed header 
and footer classes from header, footer and scroller DIVs on the focus event and 
use the blur event to put all of these classes back.
This saves me from jumpy issue. However, now i am facing another issue. While 
they keyboard is visible, if i click anywhere other than keyboard and text 
field, the keyboard disappears, but the footer div takes it position much 
higher than it should.
 I dont know what to do with this. Please help if any one knows the solution. Moreover please let me know if have done wrong in handling jumpy issue. my whole html file is attached.
(Jumpy issue can be recreated by commenting out the 
document.addEventListener('DOMContentLoaded', loginLoaded, false); line at the 
top of script)"

Original comment by Zafar.Yo...@gmail.com on 2 Aug 2011 at 10:04