Skip to content

Self-hosted AI workspace.

Python

fix(windowDrag): disable duplicate top-edge fullscreen snap (#3495)

Mostafa Eid22bd77eee62a
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';