From 4ccb7c4890b13bee472a662c235bdf66c5e54246 Mon Sep 17 00:00:00 2001 From: Mostafa Eid <150278458+lleoparden@users.noreply.github.com> Date: Mon, 15 Jun 2026 10:10:40 +0300 Subject: [PATCH] fix(windowDrag): disable duplicate top-edge fullscreen snap (#3495) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit windowDrag.js ran its own top-edge fullscreen system (cy <= SNAP_PX → _enterFs()) independently of the tileManager.js snap zones, causing duplicate/unexpected fullscreen behavior when dragging window chips toward the top of the screen. Hardcode enableFullscreen to false. tileManager.js remains the single source of truth for fullscreen/maximize snap behavior and is untouched. --- static/js/windowDrag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/windowDrag.js b/static/js/windowDrag.js index 5e7cb0c9d..5f2b62f3c 100644 --- a/static/js/windowDrag.js +++ b/static/js/windowDrag.js @@ -61,7 +61,7 @@ export function makeWindowDraggable(modal, options = {}) { const fsClass = options.fsClass || null; const onEnterFullscreen = options.onEnterFullscreen || null; const onExitFullscreen = options.onExitFullscreen || null; - const enableFullscreen = options.enableFullscreen !== false && !!onEnterFullscreen; + const enableFullscreen = false; const onDragEnd = options.onDragEnd || null; const onDragStart = options.onDragStart || null; const skipSelector = options.skipSelector || 'button, input, select';