fix(world-clock): stopPropagation on row drag handle to prevent panel-level drag

This commit is contained in:
Elie Habib
2026-03-27 01:48:14 +04:00
parent c431397599
commit b57340fa7e

View File

@@ -217,6 +217,7 @@ export class WorldClockPanel extends Panel {
const row = handle.closest('.wc-row') as HTMLElement | null;
if (!row) return;
e.preventDefault();
e.stopPropagation();
this.dragCityId = row.dataset.cityId ?? null;
this.dragStartY = e.clientY;
this.dragging = false;