tinyColorPicker
tinyColorPicker copied to clipboard
When I click on a different color input while the picker is already open, it sometimes transfers the value.
Steps to reproduce:
- Make an HTML document with multiple
<input type="color">. - Add this in javascript:
$('input[type="color"]').click(function(e){e.preventDefault();});$('input[type="color"]').colorPicker(); - Click on one of the inputs.
- Enter a color.
- Click between the different inputs without closing the tinyColorPicker.
I'm running Firefox 79.0 (64-bit) on Windows 10, if that makes a difference.
Is there a way to prevent this from happening?
``