Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value jumps when dragging outside of knob dimensions #6

Open
wavinginspace opened this issue May 28, 2021 · 0 comments
Open

Value jumps when dragging outside of knob dimensions #6

wavinginspace opened this issue May 28, 2021 · 0 comments

Comments

@wavinginspace
Copy link

Hi,

Great component! Found a nice use for it in an audio app I'm building. This is more of a question than an issue, as maybe it's already working as intended, but I've noticed that when dragging the knob outside of it's bounding box, the value jumps unexpectedly, which doesn't seem like the preferred behavior. The way dragging the knob works is also a bit non-intuitive. Most knobs (at least with my experience using music production software) respond simply on the Y-axis, like this example here.

I've been trying to see if I could try an edit that would fix that myself, but I'm having a tricky time reasoning about all the positioning logic, and my algebra is pretty rusty 😅. Any ideas on potentially changing that behavior?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant