Skip to content

v5.12.5

Compare
Choose a tag to compare
@awmleer awmleer released this 20 May 07:29
· 930 commits to master since this release

Features

  • 747fa23 [Calendar] Add shouldDisableDate prop (#5198)
  • 08562ec [Image] Add draggable props which defaults to false

Enhancements

  • e7632d2 [ActionSheet] Refactor the implementation and adjust style
  • 481f0a5 [ActionSheet] Adjust DOM structure and update tests
  • 84923eb Upgrade @floating-ui/dom to 0.5

Bug Fixes

  • 94b5b8f [Popover] Fix position not correct when target element is position fixed and popover content is very long
  • e8e2810 [Form] Fallback label to empty string in validation messages
  • 88bba8f [TextArea] Input Chinese in firefox when maxLength is set (#5209)

特性

  • 747fa23 [Calendar] 增加了 shouldDisableDate 属性 (#5198)
  • 08562ec [Image] 增加了 draggable 属性,默认为 false

优化

  • e7632d2 481f0a5 [ActionSheet] 调整了样式和 DOM 结构,底层不再依赖 Button 组件
  • 84923eb 升级 @floating-ui/dom 到 0.5

修复

  • 94b5b8f [Popover] 修复了当目标元素是 fixed 定位且 Popover 内容很长时,可能出现定位错误的问题
  • e8e2810 [Form] 当 label 为 ReactNode 时,校验信息中的 label内容会自动 fallback 为空字符串,避免出现undefined` 文案
  • 88bba8f [TextArea] 修复了在 FireFox 中,当 TextArea 设置了 maxLength 时,无法输入中文的问题 (#5209)