diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index eab04dc53f..509d75c6d7 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -15,6 +15,20 @@ timeline: true --- +## 4.18.6 + +`2022-02-07` + +- 🐞 Fix the empty Popover displayed when `content` and `title` is undefined or null. [#33835](https://github.com/ant-design/ant-design/pull/33835) [@DawnLck](https://github.com/DawnLck) +- 🐞 Fix the problem that Tooltip didn't show on `ellipsis` with rows larger than 1. [#33875](https://github.com/ant-design/ant-design/pull/33875) +- Button + - 🐞 Fix the issue that `block` of Button not work when small size. [#33878](https://github.com/ant-design/ant-design/pull/33878) [@tangjinzhou](https://github.com/tangjinzhou) + - 🐞 Fix the issue that `loading.delay` of Button cause React memory leak warning [#33858](https://github.com/ant-design/ant-design/pull/33858) [@mrwd2009](https://github.com/mrwd2009) +- 🐞 Fix the problem that Tooltip cannot be displayed when it is used with Switch in `loading` state. [#33860](https://github.com/ant-design/ant-design/pull/33860) +- 🐞 Fix the Upload button sometimes flashes after changed from hidden to display when the Upload component is a `picture-card` type. [#33820](https://github.com/ant-design/ant-design/pull/33820) [@credred](https://github.com/credred) +- TypeScript + - 🤖 Fix DatePicker `ref` TypeScript definition. [#33901](https://github.com/ant-design/ant-design/pull/33901) [@Amour1688](https://github.com/Amour1688) + ## 4.18.5 `2022-01-24` diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 14f0ef77e0..e5a3781fcc 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -15,6 +15,20 @@ timeline: true --- +## 4.18.6 + +`2022-02-07` + +- 🐞 修复当传入的内容参数和标题参数都为空时,Popover 仍旧会渲染空气泡的问题。[#33835](https://github.com/ant-design/ant-design/pull/33835) [@DawnLck](https://github.com/DawnLck) +- 🐞 修复 Typography `ellipsis` 行数大于 1 时 Tooltip 不显示的问题。[#33875](https://github.com/ant-design/ant-design/pull/33875) +- Button + - 🐞 修复小尺寸下 Button 组件 `block` 属性无效的问题[#33878](https://github.com/ant-design/ant-design/pull/33878) [@tangjinzhou](https://github.com/tangjinzhou) + - 🐞 修复 Button 组件 `loading.delay` 定时器未清除导致的内存泄漏警告[#33858](https://github.com/ant-design/ant-design/pull/33858) [@mrwd2009](https://github.com/mrwd2009) +- 🐞 修复 Tooltip 套在 `loading` 状态的 Switch 上时无法正常显示的问题。[#33860](https://github.com/ant-design/ant-design/pull/33860) +- 🐞 修复 Upload 组件为 `picture-card` 类型时,由隐藏上传按钮改为显示后,上传按钮有时会闪烁的问题。[#33820](https://github.com/ant-design/ant-design/pull/33820) [@credred](https://github.com/credred) +- Typescript + - 🤖 修复 DatePicker `ref` TypeScript 定义。[#33901](https://github.com/ant-design/ant-design/pull/33901) [@Amour1688](https://github.com/Amour1688) + ## 4.18.5 `2022-01-24` diff --git a/components/affix/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/affix/__tests__/__snapshots__/demo-extend.test.ts.snap index 82f95baa2d..a77adba253 100644 --- a/components/affix/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/affix/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -71,7 +71,7 @@ exports[`renders ./components/affix/demo/on-change.md extend context correctly 1 class="" > , , , , , , , , , ,
, , ,
, , , , , ,
, , , ,
, , , , , , , , ,
, , ,
, , , , , , , ,
,
, , , , , , ,
, , , , , + + {visible && , , ,
, , ,
        "`; +exports[`Popconfirm should show overlay when trigger is clicked 1`] = `"
code
"`; -exports[`Popconfirm should show overlay when trigger is clicked 2`] = `"
code
"`; +exports[`Popconfirm should show overlay when trigger is clicked 2`] = `"
code
"`; -exports[`Popconfirm shows content for render functions 1`] = `"
some-title
"`; +exports[`Popconfirm shows content for render functions 1`] = `"
some-title
"`; diff --git a/components/popover/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/popover/__tests__/__snapshots__/demo-extend.test.ts.snap index 2e2b45f83a..55286e6bd0 100644 --- a/components/popover/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/popover/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -3,7 +3,7 @@ exports[`renders ./components/popover/demo/arrow-point-at-center.md extend context correctly 1`] = ` Array [ ,
, , , , , , , , , , , , ,