ruhley / angular-color-picker

Vanilla AngularJS Color Picker Directive with no requirement on jQuery
http://ruhley.github.io/angular-color-picker/
MIT License
165 stars 78 forks source link

Hue selector reset to 0 after closing picker and reopening #153

Closed reesemartin closed 7 years ago

reesemartin commented 7 years ago

You can use the color picker to select the color like normal but if you close it and reopen, the hue is reset back to the top red value. However the main selector stays on the hue that was last used even though the hue displayed in the hue selector is red.

Minimal example here: https://embed.plnkr.co/J4XmUwm59gKMKdrsGCpR/

reesemartin commented 7 years ago

I also notice that once the picker is open, if you click + drag in the main selector the hue stays at 0. If you just do a single click with no drag in the main selector, the hue jumps to the hue you are currently using.