primefaces / primefaces/primereact

Knob: drag vertically, not angularly

Open
#4,472 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.