Feature Request: press and hold button #18010
Unanswered
ivanjaros
asked this question in
Ideas / Proposals
Replies: 1 comment
-
You can use debounce combined with the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In some cases, I want to have a press-and-hold button that will trigger the configured event only once the button is being pressed for configured amount of time. This is to prevent users from clicking on accident and triggering undesired action, especially if the action has no intermediary confirmation, like a dialog. Such button should have multiple styles of showing progress - filling up background color based on percentage, transitioning from one bg color to another, border filling around the button, like circular progress and so on.
This is also useful for touch devices.
Beta Was this translation helpful? Give feedback.
All reactions