I think Range element needs a debounce

Hi there,

Range elements don’t have a debounce, even though ‘on update’ triggers on any change, even before mouse update. Dragging a bound slider from 0-10 in 1 unit increments therefore makes 10 ‘update record’ actions.

Would it be possible to add debounce or, better for me, an action that triggers on ‘mouse button / tap release’?

All the best,

You can hook the click event to get get the last thing you asked for. However, this will not solve the debounce problem, because the range can be changed through keyboard interaction without a mouse. (A11y ftw).

You can implement not-too-much custom javascript to accomplish a debounce (basically running an executeWorkflow within a setTImeout you keep killing over and over).