Skip to content

Commit

Permalink
fix primefaces#3376: DataTable crash during third party drag and drop…
Browse files Browse the repository at this point in the history
… handling
  • Loading branch information
kalinkrustev committed Sep 28, 2022
1 parent 3e98e5c commit 7424e65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/lib/datatable/DataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ export const DataTable = React.forwardRef((props, ref) => {

return;
}
if (!props.reorderableColumns) return;

colReorderIconWidth.current = DomHandler.getHiddenElementOuterWidth(reorderIndicatorUpRef.current);
colReorderIconHeight.current = DomHandler.getHiddenElementOuterHeight(reorderIndicatorUpRef.current);
Expand Down

0 comments on commit 7424e65

Please sign in to comment.