Skip to content

Commit

Permalink
Fix #7545: Datatable fix alignFrozen="right"
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Jan 2, 2025
1 parent e76981e commit 7ef4422
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/lib/datatable/BodyCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,12 @@ export const BodyCell = React.memo((props) => {
focusOnInit();
};

React.useEffect(() => {
if (getColumnProp('frozen')) {
updateStickyPosition();
}
});

React.useEffect(() => {
if (getColumnProp('frozen')) {
updateStickyPosition();
Expand Down

0 comments on commit 7ef4422

Please sign in to comment.