Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome / Opera blink painting issue

I found an inexplicable issue with my pages painting and then "unpainting" in blink browsers. After the page renders, most of the viewport, but not all, goes blank and ceases to paint. Here is the screen as it should be after I've forced it to paint:

And here is the screen as it looks after the page renders and "unpaints" itself:

The behavior is consistent and the same regions are unpainted every time. It's not a very demanding application in terms of visual animation.

Tech info: Angular, angular-ui-router, CSS animations for everything.

Any insight into why blink renders and then blanks out most of the page is very much appreciated.

like image 356
MonocleFox Avatar asked Nov 10 '22 21:11

MonocleFox


1 Answers

You can try to put theng-cloak directive in your body tag for example.

More information about ng-cloak on this link: ngCloak docs

Hope my answer will fit your case.

like image 173
skywalker Avatar answered Nov 15 '22 11:11

skywalker