ant-design / ant-design

An enterprise-class UI design language and React UI library
https://ant.design
MIT License
90.42k stars 46.41k forks source link

fix: Slider show empty tooltip when tooltip.formatter is falsy #48673

Closed wanpan11 closed 2 weeks ago

wanpan11 commented 2 weeks ago

中文版模板 / Chinese template

🤔 This is a ...

🔗 Related issue link

fix https://github.com/ant-design/ant-design/issues/48668

💡 Background and solution

formatter=null 时没有隐藏 tooltip

📝 Changelog

Language Changelog
🇺🇸 English Fix Slider tooltip cannot be hidden when tooltip={{ formatter: null }}.
🇨🇳 Chinese 修复 Slider tooltip={{ formatter: null }} 无法隐藏 Tooltip 的问题。

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

stackblitz[bot] commented 2 weeks ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

github-actions[bot] commented 2 weeks ago

👁 Visual Regression Report for PR #48673 Passed ✅

🎯 Target branch: master (0dd5617205afc9d5497ae4277a5eb7793a767464) 📖 View Full Report ↗︎

🎊 Congrats! No visual-regression diff found.

github-actions[bot] commented 2 weeks ago

Preview is ready

codesandbox-ci[bot] commented 2 weeks ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

codecov[bot] commented 2 weeks ago

Codecov Report

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

Project coverage is 100.00%. Comparing base (cb19e0e) to head (383ea8d). Report is 4 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #48673 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 745 745 Lines 12946 12947 +1 Branches 3382 3383 +1 ========================================= + Hits 12946 12947 +1 ```

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

github-actions[bot] commented 2 weeks ago

🎉 Thank you for your contribution! If you have not yet joined our DingTalk community group, please feel free to join us (when joining, please provide the link to this PR).

🎉 感谢您的贡献!如果您还没有加入钉钉社区群,请扫描下方二维码加入我们(加群时请提供此 PR 链接)。