We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec9fc30 commit 1b4d399Copy full SHA for 1b4d399
packages/main/src/Dialog.ts
@@ -669,8 +669,8 @@ class Dialog extends Popup {
669
}
670
671
_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
+ // Only prevent native drag behavior when dragging from the header.
+ // This allows native drag-and-drop to work in the dialog content.
674
if (this.draggable && e.target instanceof HTMLElement && Dialog._isHeader(e.target)) {
675
e.preventDefault();
676
0 commit comments