react-color icon indicating copy to clipboard operation
react-color copied to clipboard

Provide Access to `onMouseUp` Event

Open arielhad opened this issue 8 years ago • 9 comments

Hi, can we add mouseUp event? onChangeComplete its not enough because only when the user leave the mouse I want to do specific operation

arielhad avatar Jan 11 '17 09:01 arielhad

Yeah, fer sure!

casesandberg avatar Jan 12 '17 18:01 casesandberg

Would you like the onMouseUp to fire after dragging a selector on the hue or saturation?

casesandberg avatar Mar 05 '17 06:03 casesandberg

Are you still looking for this as a feature? If I understand correctly you want to be able to complete an action after a user releases the mouse on a slider? The current functionality handles that now because onChangeComplete will fire when a mouse is released.

casesandberg avatar Mar 02 '18 22:03 casesandberg

Hi. I would ask to implement onMouseDown instead of onClick on static color boxes. Without onMouseDown event it is impossible to use colorpicker with selections.

When onClick Fired it resets selection and document.execCommand('foreColor', false, color.hex) is impossible to use

Also before focus on texteditor nice to save selection and restore selection just before event is fired . Is it possible to implement?

ovasylenko avatar Oct 01 '18 09:10 ovasylenko

Hi, is their any progress on this?

francisashley avatar Feb 24 '19 18:02 francisashley

I will follow this issue I just want to do something after I choose a color, but whatever i do, change or changeComplete happened, it troubles me

mankeheaven avatar Mar 04 '19 04:03 mankeheaven

@ovasylenko same issue. is it supported now?

allenlongbaobao avatar Nov 17 '20 02:11 allenlongbaobao

Hey folks any progress on this ?

vikas-pal-ts avatar Aug 07 '23 10:08 vikas-pal-ts