kode-team / codemirror-colorpicker

colorpicker with codemirror
https://colorpicker.easylogic.studio/
MIT License
137 stars 13 forks source link

hideDelay does not work as expected #20

Closed hcomnetworkers closed 6 years ago

hcomnetworkers commented 6 years ago

Describe the bug As stated in the API reference:

// default value is 2000. color picker don't hide automatically when hideDelay is zero

With the fix for #17 the value 0 does now hide instantly.

Expected behavior We want to have an option to display the show the color picker until a user action followed to hide it, like clicking on the overlay. Consider allow Infinity to be passed to the hideDelay option.

Desktop (please complete the following information):

easylogic commented 6 years ago

@hcomnetworkers

i fixed it.

Please refer to v1.9.22

hcomnetworkers commented 6 years ago

Thanks for the quick fixes and feature integrations, thats awesome.