github ant-design/ant-design-mobile v5.30.0

latest releases: v5.37.1, v5.37.0, v5.36.1...
16 months ago

Features

  • Dropdown: Support getContainer prop. (#6053)
  • SearchBar: Support onCompositionStart and onCompositionEnd prop. (#6086)
  • Popup: Support gesture close. (#6056)

Enhancements

  • Design Token: Update batch of components design token. (#6108 #6109)
  • Picker: Adjust PickerColumnItem value type to support number. (#6089)
  • Form: Optimize Form.Subscribe do not call useless rerender. (#6113)
  • Collapse: Add active className when panel is active. (#6124)
  • Swiper: Adjust onIndexChange trigger time which is align with motion now. (#6131)

Bug Fixes

  • ActionSheet: Fix nest with Popup blink issue. (#6097)
  • TextArea: Fix emoji maxLength edge case. (#6101)
  • Steps: Fix dot display over the element which cover the Steps component. (#6095)
  • Image: Fix onLoad not trigger in Next.js. (#6116)
  • Upload: Fix list order not follow upload order when upload multiple files at one time. (#6122)

特性

  • Dropdown: 添加 getContainer 支持。(#6053)
  • SearchBar: 添加 onCompositionStartonCompositionEnd 支持。(#6086)
  • Popup: 支持滑动关闭。(#6056)
  • Swiper: 调整 onIndexChange 触发时机与动画时机保持一致。(#6131)

优化

  • Design Token: 统一文本颜色相关的 Design Token。(#6108 #6109)
  • Picker: 优化 PickerColumnItem 的 value 类型支持 number。(#6089)
  • Form: 优化 Form.Subscribe 如果数值不变化则不再进行额外渲染。(#6113)
  • Collapse: 当面板激活时添加激活 className。(#6124)

修复

  • ActionSheet: 修复嵌套 Popup 时跳动的问题。(#6097)
  • TextArea: 修复 emoji maxLength 的边界计算问题。(#6101)
  • Steps: 修复其他元素在 Steps 之上,小圆点仍然会展示在最上层的问题。(#6095)
  • Image: 修复 Next.js 下不触发 onLoad 的问题。(#6116)
  • Upload: 修复同时上传多份文件时,列表顺序和上传顺序不一致的问题。(#6122)

Don't miss a new ant-design-mobile release

NewReleases is sending notifications on new releases.