[Bug Report][4.1.12] VTextarea auto-grow breaks native undo — Ctrl+Z undoes one character at a time
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 41k
- Forks
- 7.1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 11
Description
Environment
Vuetify Version: 4.1.12
Vue Version: 3.5.42
OS: Linux undefined (current)
Steps to reproduce
- Add a v-textarea anywhere
- Add auto-grow prop to the v-textarea
- Write any text into the v-textarea
- Hit Ctrl+z on the keyboard to perform a native undo
Expected Behavior
Hitting ctrl+z should undo groups of characters
Actual Behavior
Hitting ctrl+z only undoes a single character at a time
Reproduction Link
https://play.vuetifyjs.com/#...
Other comments
An issue since v2.5
When auto-grow is on a v-textarea, ctrl+z only undoes a single character at a time, not a group of characters like it does without the auto-grow prop or any basic html textarea input.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the v-textarea implementation and reproduce the issue using the linked Vuetify Playground example with auto-grow enabled. Compare Ctrl+Z behavior against a basic textarea and v-textarea without auto-grow; done means undo restores groups of characters as expected rather than one character at a time.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 67/100