Skip to content

Commit afd8066

Browse files
committed
fix(Upload): fixed the zIndex error of dragging elements after dragging is completed
1 parent 0370619 commit afd8066

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/components/upload/drag.wxs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ var touchEnd = function (event, ownerInstance) {
189189

190190
if (!st.dragging) return;
191191
triggerCustomEvent(st.list, 'sortend', ownerInstance);
192+
ins.removeClass(classPrefix + '__drag--cur');
192193
ins.addClass(classPrefix + '__drag--tran');
193194
ins.setStyle({
194195
transform: 'translate3d(' + st.list[st.cur].tranX + ',' + st.list[st.cur].tranY + ', 0)',

0 commit comments

Comments
 (0)