When using calcite-color-picker, the calciteColorPickerChange event fires while the thumb is dragged.
Detect a value change only when the user completes the thumb drag.
calcite-color-picker
Configuration app makes network requests when input events are fired and has very chatty behavior with the current behavior of the calciteColorPickerChangeevent. It would be ideal if a value is written once when a user completes a thumb drag rather than writing multiple values from a series of calciteColorPickerChange event fires during the thumb drag.
Did some research on this and found a few libs that do this via 2 events (similar to <input>'s input and change events):
change + changeCommitted)change + afterChange)input + change)liveChange + change)input + change)I think following input + change would be the simplest option. These names align with existing events with the same semantics and we could apply this to other components as well.
@driskull @eriklharper @paulcpederson WDYT?
Agreed. input + change.
input + change feels right, its the most idiomatic.