antd 4.10.0
🎉 Happy New Year!
- 🐞 Fix the compatibility issue of less 4.0.0.
- 🐞 Fix the problem of cursor jumping when Typography is editable. #28545
- 🐞 Fix the problem that repeatedly clicking on expanded nodes when Tree dynamically loads data will lead to wrong status.#28349 @liuchao233
- 🐞 Fix the problem that TreeSelect & Select cannot open the dropdown menu when it's
searchValuehas value. #28574 - 🐞 Fix Dropdown disabled menu item link style. #28578
- 🐞 Fix Progress
stepsdisplay accuracy issue. #28530 @gaoryrt - 🐞 Fix Radio align issue in Chrome. #28616
- 🐞 Fix Collapse arrow position not aligned when change @collapse-header-padding variable. #28507
- 💄 Optimize the white border style of Card images. #28624
- Input
- Modal
- 🆕 Modal.method adds an
afterClosecallback that will be triggered after the Modal is completely closed. #28053 @liuchao233 - 🐞 Fix the problem that Modal can be dragged outside the viewport. #28438 @mumiao
- 🆕 Modal.method adds an
- Table
- 🐞 Fix the problem that Table childrenColumnName and checkStrictly={false} cannot be used together. #28568
- 🐞 Fix Table selection abnormal behavior when inside Checkbox.Group. #28576
- 🐞 Fix the problem that the sticky header style is messy when there is no data. #28323
- 🐞 Fix the problem that
onChangelistener always receives empty list asfiltersparameter if use a customfilterDropdown. #28627 @Meowu - 🆕 Adds
expandable.columnWidthto customize the width of the expanded column. #28249 - 🆕 Adds clear all option from selection. #28580 @n0ruSh
- Image
- 🐞 Fix the misalignment issue of Image component.#28439 @MoeCasts
- 💄 Adds preview style. #28235
- 🆕 Adds functionality for zoom in\out by sliding the wheel. #react-component/image/52 @OmriGM
- 🆕 Support separate settings url for preview images. #react-component/image/56 @wangcch
- Upload
- 🐞 Fix a warning even when not using
transformFile. #28455 @YanYuanFE - 🐞 Fix Upload
fileListcannot work with data that is produced by immer. #28636 @mumiao - 🆕 Upload adds a new
maxCountproperty to limit the number of files. #28367
- 🐞 Fix a warning even when not using
- DatePicker
- 🚀 Optimize the logic of
disabledDate. #react-component/picker/191 - 🆕 Adds
onKeyDowncallback. #react-component/picker/138 @conquera99
- 🚀 Optimize the logic of
- Select
- 🐞 Fix issue where
optionsupdate does not trigger the selection box content update. #react-component/select/580 @jameslahm - 🐞 Fix the problem that the dropdown box cannot be opened after clicking the option with
tagRender. react-component/select/582 @mumiao - 🐞 Fix the problem that
tokenSeparatorscan not recognize the separator correctly under Chinese input method. #28564 - 🆕 Adds
scrollToto theref. #react-component/select/565 - 🆕
maxTagCountsupportsresponsiveinmultiplemode. #28520
- 🐞 Fix issue where
- 🆕 Slider add a new
range.draggableTrackprop. #28592 - 🆕 Descriptions support setting
labelStyle&contentStyledirectly. #28613 - 🆕 message added a new
onClickcallback that will be triggered when the message is clicked. #28148 @ZeroTo0ne - 🆕 The
scrollToFirstErrorproperty of the Form adds support for setting the position for scrolling. #28272 @vouis - 🆕 Steps support reponsive which allows to turn off reponsive change. #28459
- 🌐 Localization
- 🇭🇷 Improved Croatian language support. #28458
- TypeScript
- ⚒️ Fix
titletype of PageHeader. #28374 @zhukovvandrei
- ⚒️ Fix
🎉 新年快乐!
- 🐞 修复不兼容 less 4.0.0 的问题。
- 🐞 修复 Typography 可编辑态光标跳动的问题。#28545
- 🐞 修复 Tree 动态加载数据时重复点击展开节点会导致状态错误的问题。#28349 @liuchao233
- 🐞 修复 TreeSelect & Select
searchValue在受控且有值时,下拉菜单无法打开的问题。#28574 - 🐞 修复 Dropdown 禁用菜单项内的链接样式。#28578
- 🐞 修复 Progress
steps显示精度问题。#28530 @gaoryrt - 🐞 修复 Radio 在 Chrome 下的对齐样式问题。#28616
- 🐞 修复 Collapse 修改
@collapse-header-padding时箭头位置不居中的问题。#28507 - 💄 优化 Card 图片白边样式。#28624
- Input
- Modal
- 🐞 修复 Modal 可以被拖拽到窗口外的问题。#28438 @mumiao
- 🆕 Modal.method 新增
afterClose回调,会在 Modal 完全关闭后触发。#28053 @liuchao233
- Table
- Image
- 🐞 修复错位问题。#28439 @MoeCasts
- 💄 添加预览样式。#28235
- 🆕 支持使用鼠标滚轮缩放图片。#react-component/image/52 @OmriGM
- 🆕 支持单独设置预览图片。#react-component/image/56 @wangcch
- Upload
- 🐞 修复不使用
transformFile时也会有警告的问题。#28455 @YanYuanFE - 🐞 修复 Upload 的
fileList和 immer 数据配合使用报错问题。#28636 @mumiao - 🆕 Upload 新增
maxCount属性以限制文件数量。#28367
- 🐞 修复不使用
- DatePicker
- 🚀 优化
disabledDate逻辑。#react-component/picker/191 - 🆕 新增
onKeyDown回调。#react-component/picker/138 @conquera99
- 🚀 优化
- Select
- 🐞 修复
options更新不会触发选择框内容更新的问题。#react-component/select/580 @jameslahm - 🐞 修复使用
tagRender后点击选项无法打开下拉框的问题。react-component/select/582 @mumiao - 🐞 修复
tokenSeparators在中文输入法下无法正确识别分隔符的问题。#28564 - 🆕
ref新增scrollTo方法。#react-component/select/565 - 🆕 多选模式下
maxTagCount支持responsive。#28520
- 🐞 修复
- 🆕 Slider 新增 range.draggableTrack 以支持范围刻度整体可拖拽。#28592
- 🆕
message新增onClick回调,会在消息被点击时触发。#28148 @ZeroTo0ne - 🆕 Descriptions 上可以统一设置
labelStyle和contentStyle。 #28613 - 🆕 Form 的
scrollToFirstError属性支持设置滚动的位置参数。#28272 @vouis - 🆕 Steps 新增 reponsive 属性用于关闭响应式样式。#28459
- 🌐 国际化
- 🇭🇷 改进克罗地亚语的支持。#28458
- TypeScript
- 🛠 修复 PageHeader 的
title的类型问题。#28374 @zhukovvandrei
- 🛠 修复 PageHeader 的