-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
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
Fix Transition
component's incorrect cleanup and order of events
#1803
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
If anything is still wrong the tests will still fail but the diffs will be easier to read.
RobinMalfait
force-pushed
the
fix/transition-issues
branch
from
September 1, 2022 22:07
88c1fd8
to
e77d621
Compare
RobinMalfait
changed the title
Improve
Fix Sep 1, 2022
Transition
componentTransition
component's incorrect cleanup and order of events
RobinMalfait
force-pushed
the
fix/transition-issues
branch
from
September 1, 2022 22:15
488312c
to
fb2c4cc
Compare
RobinMalfait
changed the title
Fix
Fix Sep 1, 2022
Transition
component's incorrect cleanup and order of events Transition
component's incorrect cleanup and order of events
RobinMalfait
force-pushed
the
fix/transition-issues
branch
from
September 1, 2022 22:18
fb2c4cc
to
df76ef0
Compare
RobinMalfait
force-pushed
the
fix/transition-issues
branch
from
September 1, 2022 22:30
df76ef0
to
1b8a10b
Compare
RobinMalfait
force-pushed
the
fix/transition-issues
branch
from
September 1, 2022 22:35
1b8a10b
to
ec05b37
Compare
We will get back to these!
RobinMalfait
force-pushed
the
fix/transition-issues
branch
from
September 1, 2022 22:43
ec05b37
to
bf3cab3
Compare
This was referenced Sep 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR should fix a handful of issues where
leave
transitions weren't properly cleaning upthe DOM resulting in sometimes UI pages that feel "stuck", especially if you are using a
Dialog
component that is technically still open now due to incorrect unmounting.
A lot of the
Dialog
components usefixed inset-0
which renders a div for the backdrop but sincethat is sometimes still there and sitting on top of all other content, this results in the stuck
pages.
This PR should improve that, and therefore also fix some open issues:
Fixes: #1557
Fixes: #1638
Fixes: #1364
Closes: #1585 (this is a big, but incomplete rewrite of the
Transition
component; We can pick this up later if needed)