Skip to content

Commit 22c2584

Browse files
committed
fix tab navigation bug
1 parent 4d68b80 commit 22c2584

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/TableBody.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,10 @@ class TableBody extends Component {
387387
if (isFun(column.editable)) {
388388
editable = column.editable(column, row, nextRIndex, nextCIndex);
389389
}
390-
if (editable && !column.hidden && keyField !== column.name) break;
391-
else {
390+
if (editable && editable.readOnly !== true &&
391+
!column.hidden && keyField !== column.name) {
392+
break;
393+
} else {
392394
nextCIndex++;
393395
}
394396
} while (row);

0 commit comments

Comments
 (0)