Alberplz / angular2-color-picker

Angular 2 Color Picker Directive, no dependences required.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cpDialogDisplay=inline with a custom cpWidth leads to unusable hue slider

maxfriedmann opened this issue · comments

If you use the picker in inline mode and set the picker to a cpWidth of e.g. 400px, the hue slider drag event still calculates on a basis of 230px.

My current workaround is to set the hue slider manually to 140px:

.color-picker .hue {
    width: 140px !important;
}