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
I need the modal behavior to be open by default and not closed, how could I solve the problem?
With useEffect?
The text was updated successfully, but these errors were encountered:
@jeremybarbet #432 solution
Sorry, something went wrong.
How did you manage it?
the useEffect answer is also good for me if the merge takes to much time
Apply UseEffect and setTimeout for the modal to display on entering screen.
useEffect(() => { setTimeout(() => visible ? ref.current.open() : ref.current.close(), 100); }, [visible])
No branches or pull requests
I need the modal behavior to be open by default and not closed, how could I solve the problem?
With useEffect?
The text was updated successfully, but these errors were encountered: