Skip to content

Commit c19e033

Browse files
committed
修复在 ios 上会导致屏幕滑动问题
1 parent f0b37d3 commit c19e033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

painter.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<view style='position: relative;{{customStyle}}'>
2-
<canvas canvas-id="photo" style="{{photoStyle}};position: absolute;top: -9999rpx;" />
2+
<canvas canvas-id="photo" style="{{photoStyle}};position: absolute; left: -9999px; top: -9999rpx;" />
33
<canvas canvas-id="bottom" style="{{painterStyle}};position: absolute;" />
44
<canvas canvas-id="k-canvas" style="{{painterStyle}};position: absolute;" />
55
<canvas canvas-id="top" style="{{painterStyle}};position: absolute;" />

0 commit comments

Comments
 (0)