mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
fix(world-clock): stopPropagation on row drag handle to prevent panel-level drag
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user