ngx-color icon indicating copy to clipboard operation
ngx-color copied to clipboard

HueComponent direction vertical does not account for slider

Open newmanw opened this issue 4 years ago • 1 comments

When using HueComponent with direction vertical, the default slider/pointer css is not adjusted.

Work around is to pass in a custom 'pointer'. If vertical is an out of the box option should a default slider for the vertical hue also be included.

newmanw avatar Mar 07 '20 15:03 newmanw

seems to be working for me

<color-hue-picker
  [color]="state"
  (onChangeComplete)="changeComplete($event)"
  (onChange)="changeComplete($event)"
  [direction]="'vertical'"
  [width]="18"
  [height]="300"
></color-hue-picker>

scttcper avatar Mar 09 '20 15:03 scttcper