The Button Long Press component is a special button that reacts to a press-and-hold gesture. Instead of firing an action immediately on click, it starts filling a progress bar while the button is being held down.
When the progress bar reaches 100%, the component fires an event (OnComplete) that you can use to trigger custom logic (such as submitting a form, confirming a delete, or executing a secure action).
Features:
- Hold the button to start a progress bar;
- Release before completion ? progress is cancelled (reset);
- Keep holding until full ? event fires automatically;
- Works with both mouse (desktop) and touch (mobile).
Fix issues with the lasted changes