Skip to content

tdesign-react@1.18.1

Latest

Choose a tag to compare

@tdesign-bot tdesign-bot released this 17 Jul 08:35
07c0ba1

🌈 1.18.1 2026-07-17

🚀 Features

  • SelectInput: 支持 focus 时的内容为 valueDisplay 的对应值。 @RylanBot (#3891)

🐞 Bug Fixes

  • Button: 优化斜八度的动画效果 @uyarn (#4331)
  • ColorPicker:
    • 修复渐变角度的 title 格式异常的问题 @RylanBot (#4324)
    • 修复渐变角度输入框在 1.17.0 版本后溢出面板的问题 @RylanBot (#4324)
  • Menu: 修复弹出窗口位置在左侧宽度不够向右侧翻转时的间距错误问题 @RSS1102 (common#2631)
  • Select:
    • 修复 label 为非 string 类型时,开启 filterable 搜索后报错的问题。 @RylanBot (#3891)
    • 修复使用 label / content / children 自定义元素时,下拉框选项的高度没有撑开的问题。 (common#2537) @RylanBot
  • SelectInput:
    • 修复单选且 valueDisplay 为自定义元素时,开启 filterable 无法显示输入内容的问题。 @RylanBot (#3891)
    • 修复 inputProps.inputClass 无法生效的问题。先前 inputProps.className 被错误地应用到了 t-class 同级位置,导致正确的 inputProps.inputClass 配置无效,之前使用相关属性的业务注意此变更 ⚠️ @RylanBot (#3891)
  • Table: 在非 Chromium 内核浏览器时,由于 min-width 兼容性问题,降级到 width @RylanBot (#4219)
  • TagInput: 修复带 label 且已有 tag 时输入内容垂直对齐偏差的问题 @DaZuiZui (common#2564)

🚀 Features

  • SelectInput: Allows the content to be set to the corresponding value of valueDisplay when the element is in focus state. @RylanBot (#3891)

🐞 Bug Fixes

  • Button: Improved the animation effect for diagonal tilts. @uyarn (#4331)
  • ColorPicker:
    • Fixed an issue with the format of the title field related to gradient angles. @RylanBot (#4324)
    • Resolved the problem where the input field for gradient angles overflowed its container after version 1.17.0. @RylanBot (#4324)
  • Menu: Fix the incorrect spacing when a popup positioned on the left side flips to the right due to insufficient width. @RSS1102 (common#2631)
  • Select:
    • Fixed an error that occurred when label was not of type string and filterable search was enabled. @RylanBot (#3891)
    • Fixed the issue where the height of the dropdown options was not properly adjusted when using label/content/children to customize the elements. (common#2537) @RylanBot
  • SelectInput:
    • Fixed the problem where, in the case of a radio button with a custom valueDisplay element, the input content could not be displayed when filterable was enabled. @RylanBot (#3891)
    • Fixed the issue where inputProps.inputClass did not have the desired effect; previously, inputProps.className was incorrectly applied at the same level as t-class, which rendered inputProps.inputClass ineffective. Businesses that use this property should be aware of this change. ⚠️ @RylanBot (#3891)
  • Table: In browsers that don’t use the Chromium engine, compatibility issues with min-width cause the property to be fallbacked to width. @RylanBot (#4219)
  • TagInput: Fixed alignment issues when entering text alongside existing tags @DaZuiZui (common#2564)