IDuxFE / idux

🚀 A UI Component Library for Vue3.x
https://idux.site
MIT License
545 stars 141 forks source link

fix(date-picker): range panel onSelect should be triggered when panel not visible #1856

Closed sallerli1 closed 8 months ago

sallerli1 commented 8 months ago

PR Checklist

Please check if your PR fulfills the following requirements:

What is the current behavior?

文档中只能选择7天内的demo,选择开始时间之后,关闭面板,会导致面板上日期的禁用状态不正常

What is the new behavior?

以上问题的原因是面板收起时没有触发onSelect,因此在visible变更后新增onSelect的触发

Other information

idux-bot[bot] commented 8 months ago

This preview will be available after the AzureCI is passed.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.19%. Comparing base (8174c4f) to head (1b590d0).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1856 +/- ## ======================================= Coverage 91.19% 91.19% ======================================= Files 348 348 Lines 34201 34201 Branches 3755 3755 ======================================= Hits 31190 31190 Misses 3011 3011 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.