shoelace-style/webawesome

Colour Picker doesn't correctly load with a HEXA value

Open

#2550 aperta il 24 giu 2026

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)TypeScript (157 fork)github user discovery
buggood first issuehelp wanted

Metriche repository

Star
 (1104 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor