Skip to content
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

CalendarPickerView设置min值&&value/defaultValue时,视图优先渲染value/defaultValue值,新增scrollTo API支持跳转到指定日期 #6528

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Jarryxin
Copy link
Contributor

feat(CalendarPickerView): 设置min值并且设置了value/defaultValue时,视图优先渲染value/defaultValue值,新增scrollTo API支持跳转到指定日期。
较其它同学的提交区别:

  1. 展示区域是当前月份,显示更完整
  2. 设置min值会优先渲染value/defaultValue值

@Jarryxin
Copy link
Contributor Author

fix #6518

Copy link
Contributor

PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-6528.surge.sh

Copy link

codecov bot commented Jan 22, 2024

Codecov Report

Attention: Patch coverage is 78.94737% with 4 lines in your changes missing coverage. Please review.

Project coverage is 92.23%. Comparing base (19d5a4b) to head (1934d52).
Report is 50 commits behind head on master.

Files Patch % Lines
src/components/calendar-picker/calendar-picker.tsx 55.55% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6528      +/-   ##
==========================================
- Coverage   92.27%   92.23%   -0.04%     
==========================================
  Files         316      316              
  Lines        6897     6914      +17     
  Branches     1728     1734       +6     
==========================================
+ Hits         6364     6377      +13     
- Misses        497      501       +4     
  Partials       36       36              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Jarryxin
Copy link
Contributor Author

@zombieJ 期待 review

@Jarryxin Jarryxin force-pushed the feat-calendar-picker-view branch from 0d0d628 to 1fdf7e1 Compare January 22, 2024 12:03
@zombieJ zombieJ requested a review from bravepg January 23, 2024 02:12
@Jarryxin Jarryxin force-pushed the feat-calendar-picker-view branch from 1fdf7e1 to 14b4e2a Compare January 23, 2024 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant