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'm seeing an issue that is causing a double toggle of the transition classes (even though show is continually true), ultimately resulting in a flash.
show
true
The issue looks like it's being caused by the initial variable changing, causing useIsoMorphicEffect to be re-triggered.
initial
useIsoMorphicEffect
It goes like this:
I'm curious why initial is a dependency on this useEffect?
useIsoMorphicEffect(() => { const node = container.current if (!node) return // Skipping initial transition if (initial && !appear) return .... }, [ id, isTransitioning, unregister, nesting, container, initial,
Let me know if that doesn't make sense and I'll put together an example.
The text was updated successfully, but these errors were encountered:
Hey! Thank you for your bug report! Much appreciated! 🙏
I'll look into it!
Sorry, something went wrong.
cleanup transition
867ce8a
Fixes: #25
6c19d01
fix: cleanup transition component (#45)
fa6e5a3
Successfully merging a pull request may close this issue.
I'm seeing an issue that is causing a double toggle of the transition classes (even though
show
is continuallytrue
), ultimately resulting in a flash.The issue looks like it's being caused by the
initial
variable changing, causinguseIsoMorphicEffect
to be re-triggered.It goes like this:
I'm curious why
initial
is a dependency on this useEffect?Let me know if that doesn't make sense and I'll put together an example.
The text was updated successfully, but these errors were encountered: