Skip to content

Commit b42d334

Browse files
Merge pull request #119 from hinet/patch-3
fix Cannot read property 'scrollWidth' of undefined
2 parents 6e6e18e + ac5b4a2 commit b42d334

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/vue-drag-resize.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@mousedown="bodyDown($event)"
44
@touchstart="bodyDown($event)"
55
@touchend="up($event)">
6-
<div :style="sizeStyle" class="content-container" ref="container2">
6+
<div :style="sizeStyle" class="content-container" ref="container">
77
<slot></slot>
88
</div>
99
<div
@@ -14,4 +14,4 @@
1414
@touchstart.stop.prevent="stickDown(stick, $event)"
1515
:style="vdrStick(stick)">
1616
</div>
17-
</div>
17+
</div>

0 commit comments

Comments
 (0)