Skip to content

[BUG] Unexpected alpha change on hex value input #98

@coremyslo

Description

@coremyslo

Typing specific inputs in the color picker results in unexpected outputs with alpha values applied

Steps to Reproduce:

  1. Type accc
    • Observed: Changes to accccc with alpha 80%.
  2. Type 0aaa
    • Observed: Changes to 00aaaa with alpha 67%.

Reproducible here:
https://aesoper101.github.io/vue3-colorpicker/?path=/story/example-colorpicker--chrome&args=disableAlpha:!true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions