shoelace-style/webawesome

Colour Picker doesn't correctly load with a HEXA value

Open

#2,550 创建于 2026年6月24日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)TypeScript (157 fork)github user discovery
buggood first issuehelp wanted

仓库指标

Star
 (1,104 star)
PR 合并指标
 (PR 指标待抓取)

描述

Describe the bug

It looks like if you supply a HEXA value to the colour picker, that it won't interpret it correctly and the opacity value is lost.

Demo

https://codepen.io/brendon-the-animator/pen/XJpggNd

You'll notice that the opacity value gets lost in the interface and the form will submit just a a HEX value unless the opacity is changed.

Browser / OS

  • OS: Mac
  • Browser: Safari, Chrome
  • Browser version: Latest

贡献者指南