Hello.
Here is the problem:
JS
$(".spinBox").css("display","block");
//....
$(".spinBox").css("display","none");
CSS:
.spinBox {display:none; z-index:6; position:absolute; top:-45px; left:0; bottom:0; right:0; background:rgba(0,0,0,0.5); }
.spinBox img {position:absolute; display:block; width:50px; height:50px; margin:auto; top:0; left:0; bottom:0; right:0;}
HTML:
<div class="spinBox">
<img id="spinImg" src="images/bg/spinner.png" alt="spinner" />
</div>
All that works fine in webview in Gingerbread and Jelly Bean. But in Ice cream sandwich works like 30 out of 100 times. The spinner would rotate(css keyframes) until I touch the screen. It seems like there is no redraw until screen is touched.Perhaps you had expirienced something similar. Please help me. Thanks.