v5.43.0
Features and Enhancements
- Form: Add silent validation. #7057
- Cascader: Support custom option rendering and rounded popup styling. #7055 #7050
- Dropdown: Add
onVisibleChange. #7064 - Swiper: Report the switch source in
onIndexChange, and improve loop and small-slide positioning. #7044 #7068 #7038 - PasscodeInput: Support RTL input. #7039
- FloatingPanel: Support an inertia factor. c426590
- ErrorBlock: Generate SVG IDs dynamically. #7063
- Input: Improve the
enterKeyHinttype. #7072 - SwipeAction: Improve swipe interactions. #7051
Bug Fixes
- Popover: Prevent
ref.show()from closing immediately. #7073 - Form: Handle a single child wrapped in an array. #7075
- DatePicker: Fix December 1981 handling and the maximum year in week precision. #7037 2a3ba20
- Dropdown: Update position correctly on scroll and resize. #7049
- Cascader: Sync external value changes. #7046
- Segmented: Prevent the slider from exceeding its bounds. #7058
- NoticeBar: Stop close-button clicks from propagating. #7059
- SearchBar: Trigger search on Enter with an English IME. #7031 #7032
- List: Fix arrow image configuration. #7041
- Utils: Delay px converter initialization and avoid re-registering click-outside listeners when the handler changes. #7060 #7030
特性与优化
- Form:新增静默校验。#7057
- Cascader:支持自定义选项渲染和弹出层圆角样式。#7055 #7050
- Dropdown:新增
onVisibleChange。#7064 - Swiper:
onIndexChange增加切换来源参数,并优化循环和小尺寸幻灯片的定位。#7044 #7068 #7038 - PasscodeInput:支持从右向左输入。#7039
- FloatingPanel:支持惯性因子。c426590b1
- ErrorBlock:动态生成 SVG ID。#7063
- Input:完善
enterKeyHint类型。#7072 - SwipeAction:优化滑动交互。#7051
修复
- Popover:修复
ref.show()调用后立即关闭的问题。#7073 - Form:支持数组包裹的单个子节点。#7075
- DatePicker:修复 1981 年 12 月处理和 week 精度下最大年份计算的问题。#7037 2a3ba20
- Dropdown:修复滚动和调整窗口大小时的位置更新。#7049
- Cascader:修复外部值变化时的同步。#7046
- Segmented:修复滑块越界。#7058
- NoticeBar:阻止关闭按钮点击事件冒泡。#7059
- SearchBar:修复英文输入法下按 Enter 未触发搜索的问题。#7031 #7032
- List:修复箭头图片配置判断。#7041
- 工具函数:延迟初始化 px 转换器,并避免 click-outside 的 handler 变化时重复注册监听器。#7060 #7030