Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Android input overlay scrolling and mispositioning on focus #32
I was happy I never ran into the yoyo-scroll on my Android until this morning... If I focus on an input element the page just goes into Autoscroll, jumping about a fourth of screen ever other second.
I took apart my CSS and although I did not change anything on this element, this is the cause:
This is a fullscreen overlay above the actual page, which includes a form with the yoyo-causing input fields.
The last three rules don't work together anymore. Using
some time ago, but I ended up having with the same problem on another project.
Possible causes and possible fixes
position:fixed & z-index seen here - this solved my problem
if you have an element with
-webkit-user-modify seen here
transform 3D/backface-visibility seen here
The function at the end of the thread is setting
outline: none/overflow:hidden seen here
When working with dialogs, setting this on the
This disables all transforms and is a good starting point to search for other causes: