Skip to content

Commit

Permalink
fix: correct index for hidden column drag
Browse files Browse the repository at this point in the history
  • Loading branch information
Domino987 committed Apr 18, 2022
1 parent a28088b commit febedb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MTableHeader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export function MTableHeader({ onColumnResized, ...props }) {
<Draggable
key={columnDef.tableData.id}
draggableId={columnDef.tableData.id.toString()}
index={index}
index={columnDef.tableData.id}
style={{ zIndex: 99 }}
>
{(provided, snapshot) => (
Expand Down

0 comments on commit febedb3

Please sign in to comment.