Skip to content

setColor does not update the visual color of the picker until user interaction #347

@juanantms

Description

@juanantms

Your question

When I call setColor on the Pickr instance, the internal color value updates, but the visible color preview and button do not reflect the change immediately. The visual update only happens after the user interacts with the picker.

Is there any way to force Pickr to update the visual color immediately after calling setColor?

Your environment:

Version (see Pickr.version): 1.9.1
Used bundle (es5 or normal one): es5
Used theme (default is classic): monolith
Browser-version:  Firefox 139.0.4
Operating-system:  Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions