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

貢獻者指南