PitPik / tinyColorPicker

Tiny jQuery color picker for mobile and desktop with alpha channel
http://www.dematte.at/tinyColorPicker/
MIT License
276 stars 77 forks source link

When I click on a different color input while the picker is already open, it sometimes transfers the value. #89

Open alfalfascout opened 4 years ago

alfalfascout commented 4 years ago

Steps to reproduce:

  1. Make an HTML document with multiple <input type="color">.
  2. Add this in javascript: $('input[type="color"]').click(function(e){e.preventDefault();});$('input[type="color"]').colorPicker();
  3. Click on one of the inputs.
  4. Enter a color.
  5. 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?

Jolicoeur40 commented 2 years ago

``