KroneCorylus / ngx-colors

Simple yet elegant Material color picker for Angular
https:\\ngx-colors.web.app
MIT License
88 stars 24 forks source link

Active color displays incorrectly when the first color in presets is selected #86

Closed aliaksandrviarshel closed 10 months ago

aliaksandrviarshel commented 1 year ago

Relevant for version of the package 3.5.2. The bug can be reproduced in the examples of the package here.

Description

When the first color from presets is selected, active color also displays on the palette button. image But when I select any other color from presets except the first one, active color does not display on the palette button. image

Expected behaviour

When any color from presets (including the first one) is selected the active color does not display on the palette button.

KroneCorylus commented 10 months ago

fixed. Should be resolved in the next release.