buberdds / angular-bootstrap-colorpicker

Native AngularJS colorpicker directive. No dependency on jQuery or jQuery plugin is required.
MIT License
419 stars 226 forks source link

Cursor is still "bound" to hue selector when trying to adjust saturation #12

Closed jbthoma closed 11 years ago

jbthoma commented 11 years ago

On the demo page, if I slide the hue selector up or down and then immediately go to the saturation selector and try to drag the little circle around, it just keeps moving the hue selector up and down instead. I have to explicitly click somewhere away from the little circle in order to break the "bind" from the hue selector.

The reverse is also true, if I drag the circle pointer around the saturation box and then immediately try to start sliding the hue selector, my cursor is still bound to the circle pointer, and it just jumps over to where I'm at in the hue selector.

buberdds commented 11 years ago

Thanks for pointing out this bug.

jbthoma commented 11 years ago

Wow, that was fast! Thanks for fixing it!

Awesome work on this by the way! Love that it has no jQuery dependencies!