From c63e27569d3d835c72cdbf4845d92bdbe70d9631 Mon Sep 17 00:00:00 2001 From: melloware Date: Thu, 2 Jan 2025 14:09:16 -0500 Subject: [PATCH] Fix #7545: Datatable fix alignFrozen="right" --- components/lib/datatable/BodyCell.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/lib/datatable/BodyCell.js b/components/lib/datatable/BodyCell.js index 043d2160aa..c0f4973af6 100644 --- a/components/lib/datatable/BodyCell.js +++ b/components/lib/datatable/BodyCell.js @@ -507,7 +507,9 @@ export const BodyCell = React.memo((props) => { if (getColumnProp('frozen')) { updateStickyPosition(); } + }); + React.useEffect(() => { if (props.editMode === 'cell' || props.editMode === 'row') { focusOnElement(); }