From af62dfa754422f42fdc9b7fd8ed33f6bea9d4688 Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Fri, 13 Mar 2026 03:50:39 -0700 Subject: [PATCH] Set minimum dimensions for debugger-shell windows (#56081) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56081 Changelog: [Internal] Reviewed By: vzaidman Differential Revision: D96391528 fbshipit-source-id: 45057e8113cec08a422e2be93d02cad5a4318345 --- packages/debugger-shell/src/electron/MainInstanceEntryPoint.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/debugger-shell/src/electron/MainInstanceEntryPoint.js b/packages/debugger-shell/src/electron/MainInstanceEntryPoint.js index 473e96eedad..77ae7250645 100644 --- a/packages/debugger-shell/src/electron/MainInstanceEntryPoint.js +++ b/packages/debugger-shell/src/electron/MainInstanceEntryPoint.js @@ -62,6 +62,8 @@ function handleLaunchArgs(argv: string[]) { width: 1200, height: 600, }), + minWidth: 400, + minHeight: 300, webPreferences: { partition: 'persist:react-native-devtools', preload: require.resolve('./preload.js'),