Skip to content

Commit fd60fd1

Browse files
committed
remove dragged style after done
* fix while debugging #1936 * no longer leave min-width & will-change after a drag
1 parent a8372f0 commit fd60fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dd-draggable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class DDDraggable extends DDBaseImplement implements HTMLElementExtendOpt
5656
/** @internal */
5757
protected helperContainment: HTMLElement;
5858
/** @internal properties we change during dragging, and restore back */
59-
protected static originStyleProp = ['transition', 'pointerEvents', 'position', 'left', 'top'];
59+
protected static originStyleProp = ['transition', 'pointerEvents', 'position', 'left', 'top', 'minWidth', 'willChange'];
6060
/** @internal pause before we call the actual drag hit collision code */
6161
protected dragTimeout: number;
6262

0 commit comments

Comments
 (0)