Skip to content

Commit e43ffdf

Browse files
committed
fix(ui5-dialog): edit comments
1 parent 1b4d399 commit e43ffdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/main/src/Dialog.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -669,8 +669,8 @@ class Dialog extends Popup {
669669
}
670670

671671
_handleDragStart(e: DragEvent) {
672-
// Only prevent native drag behavior when dragging from the header.
673-
// This allows native drag-and-drop to work in the dialog content.
672+
// Only prevent native drag behavior when dragging from the header
673+
// to allow native drag-and-drop functionality in the dialog content.
674674
if (this.draggable && e.target instanceof HTMLElement && Dialog._isHeader(e.target)) {
675675
e.preventDefault();
676676
}

0 commit comments

Comments
 (0)