Run button hidden with long approval paths

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When Cursor prompts for approval to run an action, the “Run” button becomes hidden if the accompanying “Allow” text contains a long file path (e.g., C:\folder1\folder2\folder3\folder4\controller_or_something.cs).

In this case:

The “Run” button is pushed out of the visible area to the right.
There is no horizontal scrollbar, so the user cannot access it.
The only workaround is to manually resize or expand the chat/agent panel, which is not intuitive.

Expected behavior:

The “Run” button should always remain visible (e.g., fixed position, wrapped text, or responsive layout).
Alternatively, a horizontal scrollbar should appear when content overflows.

Impact:
This significantly affects usability, especially when working with long file paths, and may block users from proceeding without UI adjustments.

Steps to Reproduce

When Cursor prompts for approval to run an action, the “Run” button becomes hidden if the accompanying “Allow” text contains a long file path (e.g., C:\folder1\folder2\folder3\folder4\controller_or_something.cs).

Expected Behavior

The “Run” button should always remain visible (e.g., fixed position, wrapped text, or responsive layout).
Alternatively, a horizontal scrollbar should appear when content overflows.

Operating System

Windows 10/11

Version Information

Version: 3.0.16 (system setup)
VSCode Version: 1.105.1
Commit: 475871d112608994deb2e3065dfb7c6b0baa0c50
Date: 2026-04-09T05:33:51.767Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.17763

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the detailed report. I can reproduce it. In the editor layout on the SolidJS render path, the approval row doesn’t handle overflow correctly. A long path in the label pushes the Run button out of view, and there’s no horizontal scroll there.

I’ve filed this internally as a UI bug. I can’t give an ETA yet, but I’ll post an update in the thread once I have one.

For now, here are two workarounds:

  • Widen the chat panel so the label fits.
  • Switch to the Glass layout. The approval UI uses a different render path there, so the overflow issue doesn’t happen.