Skip to content

Commit

Permalink
fix(VDataTable): broken design with many nested headers (#18732)
Browse files Browse the repository at this point in the history
fixes #18679
  • Loading branch information
emmettxt authored Nov 28, 2023
1 parent 2fb9535 commit ce62214
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function parse (items: InternalDataTableHeader[], maxDepth: number) {
if (item.children) {
for (const child of item.children) {
// This internally sorts items that are on the same priority "row"
const sort = priority % 1 + (fraction / Math.pow(10, currentDepth + 1))
const sort = priority % 1 + (fraction / Math.pow(10, currentDepth + 2))
queue.enqueue(child, currentDepth + diff + sort)
}
}
Expand Down

0 comments on commit ce62214

Please sign in to comment.