Skip to content

Commit b020101

Browse files
committed
remove preventDefault for non arrow keys
1 parent ebb15c2 commit b020101

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/module/src/DataViewTh/DataViewTh.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,6 @@ export const DataViewTh: FC<DataViewThProps> = ({
223223
}
224224

225225
if (key !== 'ArrowLeft' && key !== 'ArrowRight') {
226-
if (isResizing) {
227-
e.preventDefault();
228-
}
229226
return;
230227
}
231228
e.preventDefault();

0 commit comments

Comments
 (0)