Skip to content

feat: pressing backspace deletes last attachment when textarea is empty#130

Merged
haydenbleasel merged 1 commit intovercel:mainfrom
tobiasbueschel:feat/prompt-input-backspace
Oct 15, 2025
Merged

feat: pressing backspace deletes last attachment when textarea is empty#130
haydenbleasel merged 1 commit intovercel:mainfrom
tobiasbueschel:feat/prompt-input-backspace

Conversation

@tobiasbueschel
Copy link
Copy Markdown
Contributor

@tobiasbueschel tobiasbueschel commented Oct 10, 2025

This implements the same behavior found in Cursor => deleting the last added attachment inside the <PromptInput /> component when the textarea is empty and the user presses the Backspace key.

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Oct 10, 2025

@tobiasbueschel is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@tobiasbueschel
Copy link
Copy Markdown
Contributor Author

tobiasbueschel commented Oct 10, 2025

FYI - the tests are failing due to broken test cases of the Control component, which is unrelated to the changes in this PR:

image

@haydenbleasel
Copy link
Copy Markdown
Contributor

Nice one, I'll look into those tests. Thanks @tobiasbueschel 🙏

@haydenbleasel haydenbleasel merged commit 7d36fdd into vercel:main Oct 15, 2025
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants