viclafouch / mui-color-input

📌 A color input designed for MUI (Material ui) V6 built with TinyColor
https://viclafouch.github.io/mui-color-input/
60 stars 20 forks source link

Free type in color like demo #24

Closed JasonColeyNZ closed 8 months ago

JasonColeyNZ commented 10 months ago

Describe the bug I have just done a basic setup, but can't seem to type into the control, like the demo, i.e. type 'green'?

To Reproduce Steps to reproduce the behavior: I have just entered the following into a form

<MuiColorInput value={internalValue} onChange={(color) => { console.log("color: ", color); // setInternalValue(e.target.value); // setColor(e.target.value); }} format="hex" isAlphaHidden={true} />

Expected behavior To be able to free type and have the cursor in the TextField

Desktop (please complete the following information):