12.0.2
版本发布时间: 2021-11-05 14:58:22
NG-ZORRO/ng-zorro-antd最新发布版本:18.1.1(2024-08-21 14:43:25)
12.0.2
2021-11-04
Bug Fixes
- core: correct hidden behavior (#6919) (987b1ca), closes #6918
- pagination: pre-ellipsis show in the wrong position (#6793) (9700e89)
- affix: fix update position when target resize (#6896) (d18a8ae), closes #6764
- date-picker: added missing type attributes for buttons (#7013) (d69d374), closes #7012
- datepicker: fixed opacity 0 on inline datepicker reopen (#6910) (d392b2e)
- i18n: update en_GB.ts translations (#6982) (f89cb38), closes #6979
-
modal: footer
onClick
re-throw error in promise catch (#6928) (3277d22) - popconfirm: add nzOkDanger option for nz-popconfirm (#6866) (d889e98)
- table: show empty state regardless of loading value (#6934) (013beda)
- timepicker: fix ok button + selection of default open value (#6941) (daf9f57)
- timepicker: fixed auto positioning picker (#6939) (65fdbc8)
- tooltip: fix tooltip for deeply wrapped focusable elements (#6965) (78c16a2), closes #6955
Performance Improvements
- autocomplete: resolve memory leak (#6851) (e61e350)
-
breadcrumb: do not re-enter the Angular zone when calling
navigate
(#6850) (830a1f2) - button: do not trigger change detections on click events (#6849) (85c79f6)
- core: resolve memory leak (#6852) (25eb0fe)
- code-editor: load Monaco only once (#7033) (e1eafec)
- image: resolve memory leak (#6856) (6744eb1)
-
select: do not run change detection if the
triggerWidth
has not been changed (#6858) (055f4a1) -
table: resolve leak within the
nz-table-fixed-row
(#7034) (cfa1ecd) -
upload: do not trigger change detection for
nz-upload-btn
(#7032) (47f91c7)
12.0.2
2021-11-04
Bug Fixes
-
core: 纠正
hidden
属性行为 (#6919) (987b1ca), closes #6918 - pagination: 修复分页组件错误的省略号 (#6793) (9700e89)
- affix: 目标元素大小调整时更新固钉位置状态 (#6896) (d18a8ae), closes #6764
- date-picker: 修复错误的按钮类型导致在表单中触发提交的问题 (#7013) (d69d374), closes #7012
- date-picker: 修复日期选择框内联模式下重新打开时无法展示问题 (#6910) (d392b2e)
-
i18n: 更新
DatePicker
en_GB.ts 国际化文案 (#6982) (f89cb38), closes #6979 -
modal: 修复模态框底部按钮
onClick
返回 Promise 未抛出错误问题 (#6928) (3277d22) -
popconfirm: 支持
nzOkDanger
确认按钮是否为危险按钮属性 (#6866) (d889e98) - table: 加载状态时显示空状态 (#6934) (013beda)
-
timepicker: 修复设置
nzDefaultOpenValue
时确认按钮未正确赋值问题 (#6941) (daf9f57) - timepicker: 修复时间选择组件在页面底部时位置被遮挡问题 (#6939) (65fdbc8)
- tooltip: 修复 tooltip 部分场景下无法聚焦触发问题 (#6965) (78c16a2), closes #6955
Performance Improvements
- autocomplete: 解决内存泄漏问题 (#6851) (e61e350)
-
breadcrumb: 当调用
navigate
时,不要重新进入 NgZone (#6850) (830a1f2) -
button:
disabled
状态点击事件不需要进行脏值检测 (#6849) (85c79f6) - core: 解决内存泄漏问题 (#6852) (25eb0fe)
- code-editor: 确保 Monaco Editor 仅被加载一次 (#7033) (e1eafec)
- image: 解决内存泄漏问题 (#6856) (6744eb1)
-
select:
triggerWidth
未改变不执行脏值检测 (#6858) (055f4a1) - table: 解决内存泄漏问题 (#7034) (cfa1ecd)
- upload: 优化脏值检测时机 (#7032) (47f91c7)