canvas 放在 view 中,但是页面滚动时,canvas 不滚动?

小程序 文章 2021-03-31 17:42 614 0 全屏看文

AI助手支持GPT4.0

canvas 放在 view 中,但是页面滚动时,canvas 不滚动?The canvas is placed in the view, but when the page is scrolled, the canvas does not scroll?

canvas 放在 view 中,但是页面滚动时,canvas 不滚动?

canvas 放在 view 中,但是页面滚动时,canvas 不滚动?

Canvas is placed in view, but when the page scrolls, canvas does not scroll?

回答:

11110111001011110111001110111:

还是同层渲染的问题吧,有些机型它同层渲染就是有问题

最好的解决方案是用image标签代替canvas


微盟:

有没有设置fixed定位?

Eric:

亮代码

站住、举手:

???

-EOF-

AI助手支持GPT4.0