We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
style
The text was updated successfully, but these errors were encountered:
This problem occurs when I use ChromePicker in next.js
Sorry, something went wrong.
I know this is late @pittleCheung but just for anyone else who came across this with nextjs, you have to turn off SSR for the component.
"use client" import { useState, useId } from "react" import { SketchPicker } from "react-color" export default function page(){ const pickerId = useId() const [color, setColor] = useState('#70FF00'); function handleColor(args){ setColor(args.hex) } return( <> <SketchPicker color={color} onChange={handleColor} key={pickerId}/> </> ) }
facing the same issue
No branches or pull requests
The text was updated successfully, but these errors were encountered: