-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
chore: optimize experience of hover value #220
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/react-component/picker/CbvWiYKpj3r6UwShrbxURARYGBiN |
Codecov Report
@@ Coverage Diff @@
## master #220 +/- ##
=======================================
Coverage 99.52% 99.52%
=======================================
Files 45 45
Lines 2104 2113 +9
Branches 619 623 +4
=======================================
+ Hits 2094 2103 +9
Misses 8 8
Partials 2 2
Continue to review full report at Codecov.
|
先别合,有点问题 |
优化了 viewDate 中 之前: 当前的 viewDate 为空时返回当前时间,因此当未选择时,切换 date 会看到 placeholder 是动态的,一旦 viewDate 固定了,就会返回固定的 viewDate(切换月份、年份面板导致) 之后: viewDate 为空时逻辑保持不变,当不为空时加了一层判断:如果当前 |
03361d0
to
29216be
Compare
close ant-design/ant-design#29412
在 basic 那个例子的 Uncontrolled DateTime 查看效果