Skip to content

tdesign-react@1.19.0

Choose a tag to compare

@tdesign-bot tdesign-bot released this 26 Nov 12:45
2638507

🌈 1.19.0 2026-11-26

🚀 Features

  • Checkbox: 优化组件内部图标实现为 SVG 资源,提高展示一致性,有覆盖原伪元素实现的业务请注意此变更 ⚠️ @uyarn (#4466)
  • ConfigProvider: dialog 支持 confirmOnEnter 和 focusable 配置 @RylanBot (#4448)
  • Dialog: 新增 focusable API 用于管理焦点,新增 dialogStyle API 用于覆盖对话框本身的样式,新增 mode='normal' 用于不脱离文档流的对话框 @RylanBot (#4448)
  • Empty: 优化组件内部图标实现为 SVG 资源,提高展示一致性 @liweijie0812 (#4464)
  • Textarea: 支持 clearable 和 onValidate API,分别用于一键清空和校验的场景 @RylanBot (#4475)

🐞 Bug Fixes

  • Badge: 修复未传入 children 和 content 独立使用时,ref 不生效的问题 @Hstealth (#4491)
  • Button: 修复 href / tag="a" 与 loading / disabled 同时使用时,仍渲染可导航锚点的问题 @lnuxe (#4493)
  • ConfigProvider: 修复 dialog.confirmBtnTheme 与 popconfirm.confirmBtnTheme 不生效的问题 @RylanBot (#4448)
  • Dialog: 修复开启 confirmOnEnter 后,在加载、可换行输入及 IME 组合输入等场景下误触发确认的问题 @RylanBot (#4448)
  • EnhancedTable: 修复 defaultExpandedTreeNodes 不生效的问题 @lnuxe (#4480)
  • Form:
    • 修复自定义 rules 时,读取到 undefined 产生的报错问题 @RylanBot (#4079)
    • 修复存在规则校验的表单最后表单项样式异常的问题 @uyarn (#4507)
  • ImageViewer: 修复多层弹窗场景下,非顶层图片预览仍响应键盘事件的问题 @RylanBot (#4448)
  • Menu: 修复自定义菜单项高度时子菜单内容被裁剪的问题 @RSS1102 (#4473)
  • SelectInput:
    • 修复开启 multiple 和 filterable 时,点击 clearable 图标无法清除筛选关键字的问题 @RylanBot (#4463)
    • 修复下拉弹出类组件弹窗打开后,切换为禁用态时弹窗未自动关闭的问题 @Xapollon430 (#4468)
  • Table:
    • 修复 reserveSelectedRowOnPaginate=={false} 时,全选数据包含其它页数据的问题 @RylanBot (#4470)
    • 修复开启 resizable 且存在分组表头时,在叶子列与分组表头交界处点击引发异常的问题 @cdevq (#4471)
    • 修复在虚拟滚动下表头延迟挂载后,横向滚动时内容不跟随的问题 @cdevq (#4474)
    • 修复固定列拖拽调整宽度后未及时更新,导致固定区域透出其他列内容的问题 @RylanBot (#4496)
    • 修复开启虚拟滚动并同时设置 firstFullRow / lastFullRow 与 rowspanAndColspan 时,控制台报 rowKey 错误和通栏滚出可视区域后表体空白的问题问题 @cdevq (#4502)

🚀 Features

  • Checkbox: Updated the internal icon implementation to use SVG assets for more consistent rendering. Please note this change if your application overrides the original pseudo-element implementation ⚠️ @uyarn (#4466)
  • ConfigProvider: Added support for confirmOnEnter and focusable in the dialog configuration @RylanBot (#4448)
  • Dialog: Added the focusable API for focus management, the dialogStyle API for customizing the dialog's styles, and mode='normal' for rendering dialogs within the document flow @RylanBot (#4448)
  • Empty: Updated the internal icon implementation to use SVG assets for more consistent rendering @liweijie0812 (#4464)
  • Textarea: Added the clearable API for one-click clearing and the onValidate API for validation @RylanBot (#4475)

🐞 Bug Fixes

  • Badge: Fixed an issue where ref did not work when the component was used without children or content @Hstealth (#4491)
  • Button: Fixed an issue where navigable anchors were still rendered when href / tag="a" was used together with loading / disabled @lnuxe (#4493)
  • ConfigProvider: Fixed an issue where dialog.confirmBtnTheme and popconfirm.confirmBtnTheme did not take effect @RylanBot (#4448)
  • Dialog: Fixed an issue where confirmOnEnter triggered confirmation unexpectedly during loading, multiline input, or IME composition @RylanBot (#4448)
  • EnhancedTable: Fixed an issue where defaultExpandedTreeNodes did not take effect @lnuxe (#4480)
  • Form:
    • Fixed an issue where accessing undefined with custom rules caused an error @RylanBot (#4079)
    • Fixed an issue where the last form item was styled incorrectly when validation rules were applied @uyarn (#4507)
  • ImageViewer: Fixed an issue where a non-top-level image viewer still responded to keyboard events in nested dialog scenarios @RylanBot (#4448)
  • Menu: Fixed an issue where submenu content was clipped when custom menu item heights were specified @RSS1102 (#4473)
  • SelectInput:
    • Fixed an issue where clicking the clearable icon did not clear the filter keyword when both multiple and filterable were enabled @RylanBot (#4463)
    • Fixed an issue where the dropdown did not close automatically when a popup-based component was switched to the disabled state @Xapollon430 (#4468)
  • Table:
    • Fixed an issue where selecting all rows included rows from other pages when reserveSelectedRowOnPaginate=={false} @RylanBot (#4470)
    • Fixed an issue where clicking the boundary between a leaf column and a grouped header caused an error when resizable was enabled @cdevq (#4471)
    • Fixed an issue where table content did not follow horizontal scrolling after the header was mounted asynchronously during virtual scrolling @cdevq (#4474)
    • Fixed an issue where resizing fixed columns by dragging did not update the fixed area in time, causing content from other columns to appear @RylanBot (#4496)
    • Fixed an issue where enabling virtual scrolling together with firstFullRow / lastFullRow and rowspanAndColspan caused a rowKey error in the console and left the table body blank after full-width rows scrolled out of view @cdevq (#4502)