Closed AchrafBn closed 2 weeks ago
Hello,
I'm facing an issue with hiding some of the children in the Controls component. When I set the boolean props hideColorGuide, hideAdvancedSliders, and hideInputType in my component, those elements are not removed from the DOM
function App() { const [color, setColor] = useState("rgba(255,255,255,1)"); return ( <div> <h2>Color picker</h2> <ColorPicker value={color} onChange={setColor} hideColorGuide hideAdvancedSliders hideInputType /> </div> ); }
NodeJs: v20.12.2 Vite: v5.0.8 react: v18.2.0 react-best-gradient-color-picker: v3.0.10,
@AchrafBn I had the same problem, I downgraded to version @3.0.8 it fixed the problem
@chrioniep @AchrafBn this should be resolved in v3.0.11
Hello,
I'm facing an issue with hiding some of the children in the Controls component. When I set the boolean props hideColorGuide, hideAdvancedSliders, and hideInputType in my component, those elements are not removed from the DOM
Basic code
Environment
NodeJs: v20.12.2 Vite: v5.0.8 react: v18.2.0 react-best-gradient-color-picker: v3.0.10,