github ant-design/ant-design-mobile v5.0.0-beta.15
5.0.0-beta.15

latest releases: v5.37.1, v5.37.0, v5.36.1...
pre-release2 years ago
  • 特性
    • DatePicker 支持了 title 属性 #4084
    • PageIndicator 增加了一些 CSS 变量,原有的 CSS 变量也进行了调整 #4088 ⚠️
    • 新增了 SideBar 组件 #4092
    • Dialog 的 Action 配置支持了传入 styleclassName 等 native props #4121
    • Form.Item 增加了 hidden 属性 #4133
  • 优化
    • 优化了 Ellipsis 的计算逻辑 #4087
    • ImageUploader 在上传图片失败时增加了错误信息的打印 #4111
    • 调整了 Form 的字段必填样式 #4131
    • Dropdown 的 forceRender 从 Dropdown 移至了 Dropdown.Item ⚠️
    • 优化了 Swiper 在部分内容较少的情况下的动画效果
  • 修复
    • 修复了 Dialog 最后一个按钮右侧边框未去除的问题 #4115
    • 修复了在部分情况下 rem 布局的 px 换算计算精度较低导致的位置偏移问题
    • 修复了 Picker 的 onSelect 属性没有触发的问题
    • 修复了 Picker、CascadePicker 在部分情况下在执行 props.children(...) 时传入了错误的 items 数据的问题
    • 修复了 ImageUploader 在连续选择两张相同图片时未能正确触发上传事件的问题 #4137

迁移建议

  • PageIndicator 的 CSS 变量进行了调整,所以需要把原来的 --active-color 改为 --active-dot-color--non-active-color 改为 --dot-color
  • 如果有用到 Dropdown 的 forceRender 属性,需要调整到 Dropdown.Item 上

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

NewReleases is sending notifications on new releases.