Skip to content

Commit efa8123

Browse files
authored
Fix #7545: Datatable fix alignFrozen="right" (#7550)
1 parent e76981e commit efa8123

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/lib/datatable/BodyCell.js

+2
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,9 @@ export const BodyCell = React.memo((props) => {
507507
if (getColumnProp('frozen')) {
508508
updateStickyPosition();
509509
}
510+
});
510511

512+
React.useEffect(() => {
511513
if (props.editMode === 'cell' || props.editMode === 'row') {
512514
focusOnElement();
513515
}

0 commit comments

Comments
 (0)