-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[Popper] Fix to defer setting of exited state to Transition component #15250
Conversation
Details of bundle changes.Comparing: 1fa8f94...3b5d8e0
|
Although partially off-topic for this PR, I've noted that the For instance:
Just something to keep in mind. Happy to action either if either are desired, albeit will raise a separate issue & PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Sharakai Oh, we would need to check if these fails are legitimate on the Modal before moving forward with the Popper. Man, it's not an easy topic you got yourself into! |
@oliviertassinari
|
@Sharakai I'm having a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still don't understand this test. It's described under prop: keepMounted
but this prop is not used in the test. It also seems like that this is a step back. Why would I want the children to be hidden after I set the open={true}
?
Fixes #15180
Popper
keepMounted
prop behaviour tests, with failing test case for the fixed issue.getDerivedStateFromProps
and deferring theexited: false
state setting to theTransition
componentThis'll be followed up by an additional PR to include a failing test case, and fix, for the
Modal
component - it suffers from the same bug.Test Failure on
next
(sans-fix):(Note that I only ran the
prop: keepMounted
tests to generate the screenshot)