Phone Android HTML5 Hardware Acceleration - Canvas

后端 未结 6 1844
醉话见心
醉话见心 2020-12-18 08:45

I am having a strange issue. When I have hardware acceleration enabled, if I am drawing to a canvas element, whatever is drawn on the canvas, will be re-drawn to the top of

6条回答
  •  北海茫月
    2020-12-18 09:14

    The duplicated HTML5 canvas issue in Android has emeerged with version 4.1.1 and it's not fixed in the latest 4.2 yet.

    The solution is that none of the parents HTML elements to the canvas will have overflow:hidden or overflow:scroll

提交回复
热议问题