Skip to content

Commit e450eff

Browse files
committed
type correction
1 parent 4bf4a81 commit e450eff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/core/sorter/sorter.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ export class UmbSorterController<T, ElementType extends HTMLElement = HTMLElemen
631631
const elRect = el.getBoundingClientRect();
632632
// gather elements on the same row.
633633
if (this.#dragY >= elRect.top && this.#dragY <= elRect.bottom) {
634-
const dragElement = this.#getDraggableElement(el);
634+
const dragElement = this.#getDraggableElement(el as unknown as HTMLElement);
635635
if (dragElement) {
636636
const dragElementRect = dragElement.getBoundingClientRect();
637637
if (el !== UmbSorterController.activeElement) {

0 commit comments

Comments
 (0)