Input type=color onchange always triggers (REACT)

Hi fellow coders,

I’m trying to use <input type="color" /> with React, which works fine on Windows/Chrome, since the event is triggered only when clicking on “OK”. Linux has a different behaviour, the change event is triggered always, when changing the color.

Any idea, how I could solve this, besides using a ready made react component? I tried debouncing it, but that leads to other problems.

Thanks in advance!

Daniel

But does color picker on Linux have “OK” button?

No, unfortunately not

Linux:

34467609-cf69eecc-eef6-11e7-89f1-1981405673b9

Windows:

VzqOO

Im just talking about Chrome, FF implentation of input type color is fine.