primefaces / primefaces/primereact
Knob: drag vertically, not angularly
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
There may be other contexts or arenas where a knob components appear, but I think the most common place you see such a UI element is in music production. In my experience, in every DAW I've used, the drag behavior of knobs is up and down by default, not around it angularly. From the demos on the docs page, I find the behavior very unintuitive and "janky". I believe there is good precedence to at least include this behavior as an option to the component.
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 Knob component and its documentation demos, then trace how pointer dragging currently determines the knob value. Add vertical dragging as an option without removing the existing angular behavior, and update the demo or relevant tests so the selected behavior can be verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100