Alberplz / angular2-color-picker

Angular 2 Color Picker Directive, no dependences required.
MIT License
185 stars 82 forks source link

Rezising #73

Closed haakotsm closed 7 years ago

haakotsm commented 7 years ago

The color picker bar doesn't scale well with increased width, it's still operating as if it was 230px (default) size. This is only a visual bug as you can still pick any color range you want, it just stops what looks like half ways.

Also I get a lot of errors if I try to put the picker inside divs with *ngIf. Cannot find property a and h in undefined

sconix commented 7 years ago

I have made a PR with AOT + other bug fixes, if you want to see if those are fixed in my version (I think they should) you can install the package build with my fixes by using this url: git://github.com/zefoy/angular2-color-picker.git#npm-package