UAccordion: Missing Option to wrap whole items
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.9k
- Forks
- 1.1k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 57
Description
Package
v4.x
Description
UAccordion has no option to wrap a whole item.
Example:
Try add a UContextMenu to each accordion item.
Other components like e.g uTree have a #item slot which requires to rebuild the inner content, but therewith allows a wrapping.
Is there any solution or plans to provide a solution?
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 by inspecting the UAccordion component and compare its item rendering with the uTree #item slot. Check how UContextMenu would need to wrap each accordion item and identify the existing component tests or examples for slot behavior. Done means a documented, usable way to wrap whole items without rebuilding their inner content.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, tailwindcss, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100