-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
feat(date-picker): adds closePanelOnSelectYear
、closePanelOnSelectMonth
prop
#5564
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
效果预览: 2024-01-09.15.54.42.mov |
Wouldn't it be wired if year click triggers panel close? Month click is somehow reasonable in specific cases. |
我尝试做这个。 |
Actually I think double click to trigger close is somehow reasonable? One click would always confuse somebody. |
Double-click to hide, is it a hard-to-discover feature for normal users? |
adds 2024-01-24.09.42.56.mov |
closePanelOnSelectDate
propclosePanelOnSelectYear
、closePanelOnSelectMonth
prop
7eb06cf
to
abea5be
Compare
变更说明:
date-picker 添加
closePanelOnSelectYear
选择年份后,关闭年月弹窗closePanelOnSelectMonth
选择月份后,关闭年月弹窗新 pr:
#6741
相关问题:
#4462
#5541
#3615
close #3167
close #5934
close #6576