diff --git a/packages/react-moveable/src/ables/Scalable.ts b/packages/react-moveable/src/ables/Scalable.ts index 70bc621ad..1f6b0e29c 100644 --- a/packages/react-moveable/src/ables/Scalable.ts +++ b/packages/react-moveable/src/ables/Scalable.ts @@ -151,7 +151,7 @@ export default { // }; setMinScaleSize([-Infinity, -Infinity]); - setMinScaleSize([Infinity, Infinity]); + setMaxScaleSize([Infinity, Infinity]); const params = fillParams(moveable, e, { direction, set: (scale: number[]) => { @@ -377,6 +377,7 @@ export default { startOffsetWidth * scale[0], startOffsetHeight * scale[1], ]; + scaleSize = calculateBoundSize( scaleSize, datas.minScaleSize,