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 #47967 modal rendering issue #48142
base: master
Are you sure you want to change the base?
Conversation
Run & review this pull request in StackBlitz Codeflow. |
👁 Visual Regression Report for PR #48142 Passed ✅
🎊 Congrats! No visual-regression diff found. |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Working Demo video attached. Screen.Recording.2024-03-28.at.10.05.30.AM.1.mov |
@@ -144,6 +144,13 @@ const Modal: React.FC<ModalProps> = (props) => { | |||
maskTransitionName={getTransitionName(rootPrefixCls, 'fade', props.maskTransitionName)} | |||
className={classNames(hashId, className, modal?.className)} | |||
style={{ ...modal?.style, ...style }} | |||
bodyStyle={{ |
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.
Personally, I think this is not a good solution.
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.
Thank you for your review @yoyo837. I am just starting to contribute. Can you please suggest me a nice fix so that i can go through and implement my ideas and give a better solution.
Problem and Scenario.
Changes