If I create a scrolling div then the next time I click a link the page
flickers. How can I stop the page from flickering.

I can stop the page from flickering if I make the content of the div
hidden or I set hardware accelerated to false. This also happens in
the android honeycomb browser.

Here is a same piece of html to reproduce the problem.

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="minimum-scale=1, maximum-scale=1">

<style type="text/css">
#test {
        max-height: 200px;
        overflow-y: scroll;
        overflow-x:hidden;
}
</style>
</head>

<body>
        <a href="test.html">test</a>
        <div id="test">
                <ul>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                        <li>hello</li>
                </ul>
        </div>
</body>

</html>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to