Skip to content

Commit 0d23398

Browse files
committed
move onResize for keyboard
1 parent 88466f9 commit 0d23398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/module/src/DataViewTh/DataViewTh.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,10 @@ export const DataViewTh: FC<DataViewThProps> = ({
249249
}
250250
}
251251
newSize = newSize + delta;
252-
onResize && onResize(e, currWidth);
253252

254253
thRef.current?.style.setProperty('min-width', newSize + 'px');
255254
currWidth = newSize;
255+
onResize && onResize(e, currWidth);
256256
};
257257

258258
return (

0 commit comments

Comments
 (0)