[CommandPalette] move cursor to starting position in input box on pressing home
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.9k
- Forks
- 1.1k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 57
Description
Description
hi,
test the use case here https://ui.nuxt.com/components/command-palette#with-custom-fuse-search
type any thing to search , move mouse up down , the options gets scroll , every thing is fine,
the use case is if user want to modify the input box query string, then user need to press arrow keys to go back to beginning of the input string , pressing Home does not work, i think pressing Home should take the cursor back to beginning of the input box!
Additional context
No response
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 Command Palette custom Fuse Search example at the linked documentation URL and reproduce the behavior by entering a query and pressing Home. Trace the Command Palette input and keyboard handling; done means Home places the caret at the beginning of the query without breaking option navigation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100