-
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
效果预览: 2024-01-09.15.54.42.mov |
fix(date-picker): change required Co-authored-by: OrbisK <[email protected]>
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
变更说明:
date-picker 添加
closePanelOnSelectDate
属性,该属性控制,当选择了年/月后,自动关闭年月面板,方便选择日。相关问题:
#4462
#5541
#3615