Fixed elements (HTML) break after android keyboard dissapears?
问题 I am trying to place a text input at the bottom of the viewport/screen. It works fine, it even "sticks" to the top of the keyboard after the onfocus event. When the keyboard is closed, however, there is lag between the changed position (top of keyboard) and the original position (bottom of viewport). My css for the element is : .fixed { position: absolute; z-index: 1000; height: 50px; display: block; bottom: 0px; width: 100%; } EDIT: This behavior doesn't depend on fixed/absolute positioning