cyhnkckali / vue3-color-picker

The Unlicense
33 stars 9 forks source link

Add ability to change hex input behaviour #4

Closed kaskenov closed 3 months ago

kaskenov commented 3 months ago

Current behaviour: When user tries to add hex by input after user add 3rd char picker applies it as a short hex (for example 123 => 112233). Another case is when user uses backspace to delete chars in hex user is not able to delete value since every time 3 chars left picker applies it as a short hex

Expected behaviour As it works, for example, in figma, hex is applied only on enter/return or on blur.

Solution