Comfy-Org / Comfy-Org/ComfyUI_frontend

[Feature Request]: Popup edit field for `slider` widgets

Open
#4,477 1 comment 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

Slider widgets are great for tweaking, but I haven't found a way to type a specific value. After such field is edited, it's impossible to even restore the default (usually round) value.

Image

Most of CG software provides a numeric field next to any slider (Unity, Maya, PhotoShop, etc). I'd argue Comfy's design for sliders is even better _(title and value INSIDE the slider itself, giving more area to drag around and thus providing better precision)_, but there needs to be **A** way to type a specific value.

### Proposed workflow

I propose some "special click" on the widget to show a value-edit popup _(the same one as for regular floats/ints)_. The obvious candidates are:
- Right-click **on the slider itself** (clicking anywhere else on the node still shows context menu).
- Alt+Left-click on it.
- Regular double-click (as opposed to single click or click-drag) - but this one obviously leads to annoying misclicks, so imo it's only a last resort.

### Additional information

_No response_

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-4477-Feature-Request-Popup-edit-field-for-slider-widgets-2356d73d36508180983ee4815415beb3) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.