13.2.0
2022-04-26
Bug Fixes
- carousel: fix nzAfterChange callback value not correctly (#7326) (b517bd4), closes #7323
- cascader: fix the problem of disappearing drop-down menu (#7381) (3d41ce0)
- cascader: update position when click menu item (#7306) (4c669a5)
- i18n: update fr translations (#7364) (64e1c7c)
- list: re-enter the Angular zone when the
NgZone.onStable
emits (#7314) (425f8df) - modal: no longer trigger any action when closing (#7336) (d169452)
- popconfirm: reverting missing nzPopconfirmVisibleChange (#7338) (561041c)
- upload: fix upload drag drop will open new tab in firefox 91 and 92 (#7190) (9b51874)
Features
- code-editor: add global configuration to support monaco require config (#7121) (21ec517)
- code-editor: support MonacoEnvironment config in NZ_CONFIG (#7359) (4dfd9cd), closes #6502
- image: nz-image add press
left
orright
to switch image (#7321) (b5f82b5) - input-number: add
nzReadOnly
property (#7372) (0da7496), closes #7369
Performance Improvements
- anchor: mark
scroll
listener as passive (#7330) (aab060f) - back-top: mark
scroll
listener as passive (#7329) (7f3c4e1) - cascader: do not run change detection on
change
event (#7312) (cb803f9) - image: do not run change detection when the image preview is clicked (#7309) (752a5b6)
- input-number: do not run change detection when
mouseup
andmouseleave
events are dispatched on handlers (#7313) (54386ef) - modal: call
focus()
on the next rendering frame to prevent frame drop (#7293) (106d346) - resizable: mark
mousedown
andtouchstart
listeners as passive (#7331) (518997b) - tree-view: do not run change detection when the
nz-tree-node-checkbox
is clicked (#7307) (1e0872b)
13.2.0
2022-04-26
Bug Fixes
- carousel: 修复
nzAfterChange
回调未正确触发问题 (#7326) (b517bd4), closes #7323 - cascader: 修复
hover
模式选项框无法错误隐藏问题 (#7381) (3d41ce0) - cascader: 修复选项框超出区域被遮挡问题 (#7306) (4c669a5)
- i18n: 修复部分翻译缺失问题 (#7364) (64e1c7c)
- list: 修复
NgZone.onStable
事件后未正确触发脏值检测问题 (#7314) (425f8df) - modal: 关闭弹窗过程中忽略点击确认取消按钮行为 (#7336) (d169452)
- popconfirm: 修复
nzPopconfirmVisibleChange
未触发问题 (#7338) (561041c) - upload: 修复在 Firefox 91/92 版本中拖拽文件会打开新页面问题 (#7190) (9b51874)
Features
- code-editor: 支持设置自定义配置以支持 monaco editor 配置 (#7121) (21ec517)
- code-editor: 支持在
NZ_CONFIG
定义window.MonacoEnvironment
(#7359) (4dfd9cd), closes #6502 - image: 支持点击键盘左右方向键切换图片 (#7321) (b5f82b5)
- input-number: 增加
nzReadOnly
属性支持只读方式 (#7372) (0da7496), closes #7369
Performance Improvements
- anchor: 使用
passive
改善的滚屏性能 (#7330) (aab060f) - back-top: 使用
passive
改善的滚屏性能 (#7329) (7f3c4e1) - cascader: 减少触发不必要的脏值检测 (#7312) (cb803f9)
- image: 减少触发不必要的脏值检测 (#7309) (752a5b6)
- input-number: 减少触发不必要的脏值检测 (#7313) (54386ef)
- modal: 优化在不同设备上渲染帧率效果 (#7293) (106d346)
- resizable: 使用
passive
改善性能 (#7331) (518997b) - tree-view: 减少触发不必要的脏值检测 (#7307) (1e0872b)