Skip to content

Commit ba19cac

Browse files
committed
chore: update logic
1 parent 8539643 commit ba19cac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cell/useCellResize.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default function useCelResize(
5555
const index = colsKeys.findIndex(key => key === columnKey);
5656

5757
const minWidth = typeof resizable === 'object' ? resizable.minWidth || 0 : 0;
58-
if (newWidth < minWidth && oldWidth > minWidth) {
58+
if (newWidth < minWidth) {
5959
newWidth = minWidth;
6060
}
6161
setLineLeft(

0 commit comments

Comments
 (0)