Download Latest Version v5.41.1 source code.tar.gz (1.5 MB)
Email in envelope

Get an email when there's a new version of Ant Design Mobile

Home / v5.41.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-09-24 2.1 kB
v5.41.0 source code.tar.gz 2025-09-24 1.5 MB
v5.41.0 source code.zip 2025-09-24 2.0 MB
Totals: 3 Items   3.5 MB 0

Features

  • Ellipsis: Support onEllipsis callback. [#6893]
  • Tabs: Support keyboard navigation for a11y. [#6895]
  • Calendar: Support cellRender for customize cell content. [#6924]
  • ImageViewer: imageRender support additional ref param for pass to customize content. [#6904]

Enhancements

  • VirtualInput: Caret position compatible with controlled mode. [#6891] [#6897] [#6926] [#6948] [#6949]
  • Swiper: Optimize the render logic to not to re-mount content when key reorder. [#6929]
  • Calendar: Not show switch button when prevMonthButton nextMonthButton prevYearButton nextYearButton is null. [#6944]

Bug Fixes

  • DatePicker: Fix format string not correct when `precision="week" with some case. [#6906]
  • Swiper: Fix vertical virtual scroll not working as expect/ [#6882]
  • Ellipsis: Fix warning for useLayoutEffect when in SSR. [#6923]
  • TextArea: Fix enterKeyHint not working for the first focus. [#6917]
  • Avatar: Fix not show fallback when src is empty text. [#6935]

特性

  • Ellipsis:支持 onEllipsis 回调。#6893
  • Tabs:支持无障碍(a11y)的键盘导航。#6895
  • Calendar:支持 cellRender 自定义单元格内容。#6924
  • ImageViewer:imageRender 额外支持传入 ref 参数用于自定义内容。#6904

优化

  • VirtualInput:光标位置在受控模式下保持兼容。#6891 [#6897] [#6926] [#6948] [#6949]
  • Swiper:优化渲染逻辑,key 重新排序时不重新挂载内容。#6929
  • Calendar:当 prevMonthButtonnextMonthButtonprevYearButtonnextYearButtonnull 时不显示切换按钮。#6944

修复

  • DatePicker:修复 precision="week" 时某些情况下格式字符串不正确的问题。#6906
  • Swiper:修复垂直虚拟滚动不生效的问题。#6882
  • Ellipsis:修复 SSR 环境中 useLayoutEffect 的警告。#6923
  • TextArea:修复首次聚焦时 enterKeyHint 不生效的问题。#6917
  • Avatar:修复 src 为空字符串时不显示后备内容的问题。#6935
Source: README.md, updated 2025-09-24