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

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

Features

  • Ellipsis: collapseText & expandText support ReactNode. (#6134)
  • NoticeBar: support onClick event. (#6140)
  • Swiper: Add active className for current active item. (#6159)
  • Button, Image, Input: support id prop. (#6176)
  • CascaderView: support loading prop. (#6190)
  • Popup: support closeOnSwipe prop. (#6203)

Enhancements

  • PullToRefresh: Fix shaking when in high resolution screen. (#6153)
  • Ellipsis: Fix glint when calculation finished. (#6155)
  • List: Enhance onClick ts definition. (#6158)
  • Slider: Optimize performance when min & max in a huge range. (#6204)

Bug Fixes

  • Swiper: Fix onIndexChange sometime not sync with correct value. (#6144)
  • Util: Fix ssr warning. (#6177)

特性

  • Ellipsis: collapseTextexpandText 支持 ReactNode。(#6134)
  • NoticeBar: 支持 onClick 事件。(#6140)
  • Swiper: 为当前项添加 active className。(#6159)
  • List: 优化 onClick ts 定义。(#6158)
  • Button, Image, Input: 支持 id 属性。(#6176)
  • CascaderView: 支持 loading 属性。(#6190)
  • Popup: 支持 closeOnSwipe 属性以允许配置拖动关闭(现在是默认不开启)。(#6203)

优化

  • PullToRefresh: 修复高清分辨率屏下拖动抖动问题。(#6153)
  • Ellipsis: 修复在完成省略计算时会出现闪动的问题。(#6155)
  • Slider: 优化大范围区间下的渲染性能。(#6204)

修复

  • Swiper: 修复 onIndexChange 在某些场景返回值不正确的问题。(#6144)
  • Util: 优化底层通用逻辑以修复 SSR 报错问题。(#6177)

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

NewReleases is sending notifications on new releases.