css - Android native browser doesn't update height on overflow auto when adding elements -
i'm making 1 page mobile web app. container fixed @ 100% height , article inside has
overflow: auto height: 100%
this works great on both ios , android, viewport stays static , content scrolls in middle. however, when add new dom element article, or unhide hidden div, android not update height of scrolling div, elements @ bottom of same div cut off @ scroll limit.
is there anyway around this?
ok managed fix forcing view repaint whenever altered dom
$('<style></style>').appendto($(document.body)).remove();
a horrible horrible fix, works...
the android browser new ie6.
Comments
Post a Comment