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
[transitions] Allow to run Slide into a custom container #26623
[transitions] Allow to run Slide into a custom container #26623
Conversation
@oliviertassinari Excuse me, would any maintainer review this PR? If the maintainers are busy, that's ok, I can wait. If the maintainers need more information about the PR, please let's me know. Thanks. |
@oliviertassinari I am not sure why this PR haven't been reviewed. Is the description not clear enough? Or is the PR too large to review? This enhancement would really improve the UI experience for my company's product. I believe there would be someone could get the benefit from it. So, if maintainers need more information about this PR, please let me know. Thanks. |
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.
Thanks for working on this and sorry for the delayed review. Could you take a look on the provided comments?
@mnajdova I updated this PR, so you can review this PR, thanks. |
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 found a few minor things to correct. Aside from that, I like it 👍.
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've pushed few commits, looks good. Thanks very much for the contribution and patience @benny0642 :)
@mnajdova Thanks for updating the docs and cleaning up my codes. It seams that nothing have to be modified. What is the next step? It's my first time to contribute to the community. Thanks again. 😄 |
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.
Could we add one simple test case as a safety net?
0c13ff4
to
86b32b7
Compare
27f30e5
to
243056e
Compare
I have rebased on HEAD |
40cb6a9
to
62eb2a5
Compare
62eb2a5
to
4854ee6
Compare
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.
Looks good!
…250_add_targetRef_to_slide_component
@benny0642 Thanks! |
Closes #20250
Preview: https://deploy-preview-26623--material-ui.netlify.app/components/transitions/#slide-relative-to-a-container
change summary
targetRef
prop toSlide
component, so that thechildren
ofSlide
could chose sliding not only from the edge of screen, but also from the edge oftargetRef
DOM element.SimpleSlide
targetRef
In the video
targetRef
(the yellowBox
) to theSlide
, so the icon could slide from the edge of yellowBox
.Box
is just for explanation. The style would not be committed into this PR.slide_example04.mp4
This PR is an enhancement about the issue #20250.
A reference closed PR about the issue: #20266