npm antd 5.22.2

2 days ago
  • 🐞 Fix Input.OTP focus from advancing when previous input is empty. #51664 @thecodesalim
  • 🐞 Adjust Modal function call not to scroll the confirm button when it get auto focused. #51647 @zombieJ
  • 🐞 Fix Form rules with same error content will cause React render warning. #51636 @zombieJ
  • 🐞 Refactor Button focus logic trigger with useEffect to resolve some async load case not get autoFocus. #51624 @zombieJ
  • 🐞 Fix Button custom icon not center-aligned. #51652 @afc163
  • 🐞 Fix Table getCheckboxProps event handlers being overridden by internal selection logic. #51661 @Zyf665
  • 🐞 Fix Tree that onCheck and onSelect were not properly triggered. #51448 @Wxh16144
  • 🌐 Localization

  • 🐞 修复 Input.OTP 组件在有非法输入时仍会切换到下一个输入框的问题。#51664 @thecodesalim
  • 🐞 调整 Modal 确认函数,使其在弹出后聚焦确认按钮时不要滚动窗体。#51647 @zombieJ
  • 🐞 修复 Form rules 生成多条相同错误时会报 React 渲染错误的问题。#51636 @zombieJ
  • 🐞 调整 Button 使用 useEffect 来触发 autoFocus 逻辑,以解决一些异步渲染场景下 Button 无法自动聚焦的问题。#51624 @zombieJ
  • 🐞 修复 Button 中使用自定义三方图标库时图标未居中的问题。#51652 @afc163
  • 🐞 修复 Table 组件 getCheckboxProps 中的事件处理器被内部选择逻辑覆盖的问题。#51661 @Zyf665
  • 🐞 修复 Tree 组件的 onCheckonSelect 事件没有被正确触发的问题。#51448 @Wxh16144
  • 🌐 本地化

Don't miss a new antd release

NewReleases is sending notifications on new releases.