Closed LiuBairin closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
picker | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 11, 2024 5:56am |
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 98.58%. Comparing base (
3077545
) to head (4eb89f0
). Report is 17 commits behind head on master.:exclamation: Current head 4eb89f0 differs from pull request most recent head e0d6bb1. Consider uploading reports for the commit e0d6bb1 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
你应该使用 open 来控制弹窗关闭,而不是用 blur。
是这样的 在3.5x版本的时候我自定义renderExtraFooter 并定义了一个确定按钮 调用ref的blur方法是可以关闭的
调用ref的blur方法是可以关闭的
这是非预期和不稳定的,官方推荐的方式是用 open 来控制弹窗关闭。
👌好的,谢谢
在开发过程中我希望通过ref上的blur方法使rangePicker关闭,发现并没有作用,阅读源码发现是onBlur方法没有调用导致的