shoelace-style/webawesome
在 GitHub 查看Colour Picker doesn't correctly load with a HEXA value
Open
#2,550 创建于 2026年6月24日
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