-
-
Notifications
You must be signed in to change notification settings - Fork 50.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: Fix popupClassName prop in timepicker #23214
fix: Fix popupClassName prop in timepicker #23214
Conversation
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 you please add tests to make sure this change works as expected?
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. Latest deployment of this branch, based on commit f275793:
|
Codecov Report
@@ Coverage Diff @@
## master #23214 +/- ##
=======================================
Coverage 98.35% 98.35%
=======================================
Files 365 365
Lines 7284 7284
Branches 1999 1988 -11
=======================================
Hits 7164 7164
Misses 120 120
Continue to review full report at Codecov.
|
The translated content of the demo doc, please team members to review. |
中文用的日文噢。 |
没关系,我先改成 debug 模式了默认不展示。 |
* fix(time-picker): combine dropdownClassName and popupClassName prop * test(time-picker): add test for popupClassName and dropdownClassName prop * chore(time-picker): add demo for popupClassName prop * test(time-picker): remove rc-picker dependency * doc(time-picker): change default prop of popupClassName to undefined * fix(time-picker): remove the use of dropdownClassName * Apply suggestions from code review Co-authored-by: 偏右 <afc163@gmail.com>
🤔 This is a ...
🔗 Related issue link
closes #22807
💡 Background and solution
In 3.x
rc-time-picker
is being used but in 4.x it has been replaced byrc-picker
.rc-time-picker
has a prop calledpopupClassName
but this prop is not available inrc-picker
Pass
popupClassName
prop torc-picker
throughdropdownClassName
prop📝 Changelog
rc-picker
time-picker
自4.0-alpha-0
以来popupClassName
的支持☑️ Self Check before Merge