Describe the bug
Since version 3.9.0, the "Full Screen" mode for the code editor (Set Variable block) has lost its centered overlay behavior. Instead of opening a modal over the entire screen, it now performs an inline expansion towards the left edge of the screen.
If the block is positioned near the left edge of the browser window, the editor barely expands. The user has to manually drag the canvas to the right to "make room" for the editor to expand, which was not necessary in v3.8.0.
The behavior has degraded as follows:
- v3.8.0 and earlier: Opened a perfect, centered overlay/modal (Expected).
- v3.9.0 and v3.10.0: Clicking "Full Screen" only expands the block slightly in place, making it almost useless for long scripts.
- v3.11.0: The editor expands further to the left, but its width is still restricted by the block's position. To get more space, the user must manually drag the canvas to the far right.
To Reproduce
- Open a bot in the Builder (v3.9.0+).
- Add or open a "Set Variable" block with Custom Code.
- Position the block on the right side of your screen.
- Click the "Full Screen" (diagonal arrows) icon.
- Notice that the editor doesn't cover the screen; it only expands until it hits the window border.
Expected behavior
The editor should open as a fixed, centered overlay (modal) covering most of the screen, independent of the block's position on the canvas (as it was in v3.8.0).
Actual behavior
The editor's width is constrained by its position on the canvas. In v3.9/v3.10 it barely expands; in v3.11 it expands more but requires the user to move the canvas to "unblock" space on the left.
Near left edge:

Near right edge:

Describe the bug
Since version 3.9.0, the "Full Screen" mode for the code editor (Set Variable block) has lost its centered overlay behavior. Instead of opening a modal over the entire screen, it now performs an inline expansion towards the left edge of the screen.
If the block is positioned near the left edge of the browser window, the editor barely expands. The user has to manually drag the canvas to the right to "make room" for the editor to expand, which was not necessary in v3.8.0.
The behavior has degraded as follows:
To Reproduce
Expected behavior
The editor should open as a fixed, centered overlay (modal) covering most of the screen, independent of the block's position on the canvas (as it was in v3.8.0).
Actual behavior
The editor's width is constrained by its position on the canvas. In v3.9/v3.10 it barely expands; in v3.11 it expands more but requires the user to move the canvas to "unblock" space on the left.
Near left edge:

Near right edge:
