-
-
Notifications
You must be signed in to change notification settings - Fork 47.5k
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: DatePicker support presets
#38249
Conversation
Size Change: +1.8 kB (0%) Total Size: 897 kB
|
While I like this list style more than the current tag one, I think the fact that the text can be dynamic might be problematic, especially if it's a longer one: This means that, depending on the (length of the) preset texts, the calendar section of the picker is sometimes further to the left and sometimes further to the right, which is not really good for the user experience. Have you thought about putting the list on the right side of the calendar part or below it (below would likely require to truncate the text using Below could also be better for smaller screen sizes. |
Codecov ReportBase: 100.00% // Head: 100.00% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## next #38249 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 542 541 -1
Lines 9281 9279 -2
Branches 2606 2606
=========================================
- Hits 9281 9279 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
覆盖率掉了 |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
presets
prop.presets
属性。☑️ Self-Check before Merge