KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am developing mobile apps using HTML5 & CSS3 using PhoneGap. My problem is that whenever I touch a textbox on my webpage running on the Samsung Galaxy Tab 10.1 (Android v3.1), it shows the keyboard but the page goes black for a fraction of second. At times, it flickers for a while showing black background and then restores itself. I even tried with a simple page with a single input type="text" and it even happens with the same. Anybody faced a similar issue and have had a fix for it? Any help is much appreciated. Thanks. UPDATE 1: As I said above, the black flickering even happens with the app containing a simple page with a single text box. Following is the code: <!DOCTYPE html> <html> <head> <title> Flickering Problem </title> <style> html, body{ -webkit-backface-visibility: hidden; overflow: hidden; -webkit-transform: translate3d(0,0,0); } </style> </head> <body> <input type="text" width="200px" height="100px" /> </body> </html> I tested this on my Android tablet, and the flickering was as with a full fledged web page. I tried adding certain CSS attributes suggested here on SO for similar problem which claimed to solve, but did actually help. It is worth noting that the black flickering is happening whenever we try to enter any text in the textbox, and I am currently not doing any animation(s) / transitions using CSS3.
Tags (comma-separated)
Save Edits
Cancel