maplibre / maputnik

An open source visual editor for the 'MapLibre Style Specification'
https://www.maplibre.org/maputnik
MIT License
2.11k stars 399 forks source link

Color picker: No easy way to get back to HEX color after changing alpha channel from 1 #371

Open gregwolanski opened 6 years ago

gregwolanski commented 6 years ago

Illustration of the problem:

1

Proposed solution:

orangemug commented 6 years ago

We could also just disable HEX in the colour picker unless you manually type it in the <input>

orangemug commented 6 years ago

There is an issue raised in the react-color repo, see https://github.com/casesandberg/react-color/issues/510

pathmapper commented 4 years ago

The issue mentioned by @orangemug in the react-color repo was closed with

We are changing the way hex colors are handled in the new version and this will no longer be an issue.