Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Why put buttons that jump around when clicked?
Clicking the preview button can accidentally revert all the changes.
Steps to Reproduce
Follow the video.
Expected Behavior
Don’t move buttons. Especially sliding in a dangerous one like “revert changes” under the cursor for the user to click by accident.
Operating System
Windows 10/11
Version Information
latest,etc.
probably the same behavior in the other OSes.
Does this stop you from using Cursor
No - Cursor works, but with this issue
Hey @Richard_Pickett
I can see exactly what’s happening: clicking Preview re-renders that top review bar, which reflows the buttons and slides Undo File right under where your cursor already was. A destructive action shouldn’t move into the pointer’s path like that, so this is on our side, not anything you did, and it’s something we’ve seen come up before.
If it ever happens by accident, the quickest way to get the changes back is to click into that file and press Ctrl+Z (Cmd+Z on Mac). The revert lands on the editor’s normal undo stack, so a single undo restores the agent’s edits for that file. If you’d committed beforehand, git restore works too, and the file Timeline (right-click in the Explorer and enable “Timeline”) keeps per-file snapshots as a backup.
One habit that helps on large agent runs: commit or stash before you start reviewing, so a stray click is always one git restore away from being reversed.