Skip to content

Commit

Permalink
fix(list): drag menu 'Move to' actions broken when list elements have…
Browse files Browse the repository at this point in the history
… explicit ids #11513
  • Loading branch information
driskull committed Feb 11, 2025
1 parent 5c6e126 commit 9c44347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/calcite-components/src/components/list/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ export class List
this.moveToItems = lists.map((element) => ({
element,
label: element.label ?? element.id,
id: el.id || guid(),
id: guid(),
}));

const groupItems = Array.from(this.el.querySelectorAll(listItemGroupSelector));
Expand Down

0 comments on commit 9c44347

Please sign in to comment.