v5.20.0
版本发布时间: 2022-07-28 17:16:50
ant-design/ant-design-mobile最新发布版本:v5.37.1(2024-07-03 12:00:22)
New Features
- 560c291f6 5a696c50b Rate: Support slide gesture (#5497) (#5505)
- 6b0c10747 SwipeAction: Add
onActionsReveal
prop (#5484) - ea217960e Form: Add new
requiredMarkStyle
optionnone
(#5486)
Enhancements
- 68f36926a Upgrade
@use-gesture/react
to10.2.17
- 0d94c630c Update id-ID locale (#5485)
Bug Fixes
- f58011004 830b96b9b SwipeAction: Fix position blink sometimes (like #5490) (#5514)
- be9011675 Swiper: Fix a dragging gesture bug when imperatively call
jumpTo
in theonClick
event ofSwiper.Item
- 88b0fea9a useResizeEffect: Avoid
ResizeObserver loop limit exceeded
error (#5491)
特性
- 560c291f6 5a696c50b Rate: 支持了滑动手势 (#5497) (#5505)
- 6b0c10747 SwipeAction: 新增了
onActionsReveal
属性 (#5484) - ea217960e Form:
requiredMarkStyle
属性新增了可选项none
,用于完全不显示必填标记 (#5486)
优化
- 68f36926a 升级
@use-gesture/react
到10.2.17
- 0d94c630c 更新了 id-ID 翻译 (#5485)
修复
- f58011004 830b96b9b SwipeAction: 修复了在某些情况下可能位置出现闪烁偏移的问题 (参见 #5490) (#5514)
- be9011675 Swiper: 修复了当手动在
Swiper.Item
的onClick
事件中调用jumpTo
方法时,可能会导致手势异常的问题 - 88b0fea9a useResizeEffect: 避免出现
ResizeObserver loop limit exceeded
报错 (#5491)