ant-design-vue
ant-design-vue copied to clipboard
🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
close #7673
resolve #7627 - [x] defaultValue - [x] disabled - [x] formatter - [x] mask - [x] length - [x] status - [x] size - [ ] variant - [x] value...
resolve #7539 背景: 使用`dropdownRender`对`ASelect`进行自定义扩展,在`ASelect`有焦点的情况下且滚动条滚动超过一页时,点击下拉会出现选项空白,完整讨论见 [Issue](https://github.com/vueComponent/ant-design-vue/issues/7539),[官方文档](https://www.antdv.com/components/select-cn#components-select-demo-custom-dropdown-menu)可复现。 操作步骤: 1. 添加多个Item,直到数据超过一页 2. 将滚动条滚动到最底部,点击页面除 Select 框以外的位置失焦 3. 再次点击 Select 框,此时出现选项空白😱  对比流程: `ASelect`不聚焦时,点击下拉框,会触发`onContainerFocus`等方法,在`onContainerFocus`方法中用`setTimeout`延迟修改`mockFocused`,`mockFocused`变化会引起`List`的`onUpdated`的执行,此时列表已渲染完成,`offsetHeight`能被正确赋值,触发了 `watcher`,更新`state.scrollTop`,进而更新到`calRes.offset`中。 而`ASelect`聚焦时,点击下拉框,不会触发`onContainerFocus`方法,导致`offsetHeight`未能正确赋值,进而`calRes.offset`未能正确计算,导致`List`未能正确滚动到历史停留位置,出现选项空白。
- [ ] I have searched the [issues](https://github.com/vueComponent/ant-design-vue/issues) of this repository and believe that this is not a duplicate. ### What problem does this feature solve? 在 Form.Item 上单独定义 layout,可以做到一个表单多种布局...
- [ ] I have searched the [issues](https://github.com/vueComponent/ant-design-vue/issues) of this repository and believe that this is not a duplicate. ### Version 4.2.3 ### Environment windows, vue 3 inertia ### Steps...
- [ ] I have searched the [issues](https://github.com/vueComponent/ant-design-vue/issues) of this repository and believe that this is not a duplicate. ### Version 3.2.20 ### Environment windows ### Reproduction link [ https://github.com/vueComponent/ant-design-vue/issues/new/choose](...
add keyboardPrediction prop to restored previous behavior when users search, similar to earlier versions. This PR will add the option to support features related to composition events without breaking the...
BaseInput中使用的 `createEvent()` 和 `Event.initEvent()` 已经不再推荐使用,根据mdn中的推荐改为了 `event constructors` 的写法 参考: https://developer.mozilla.org/en-US/docs/Web/API/Document/createEvent
close #7658 让组件a-input支持 v-model:value.trim 的写法。 判断valueModifiers的属性查看是否有trim属性,如果有表示该组件要使用 v-model:value.trim功能,去除输入框文字两侧的空格
- [ ] I have searched the [issues](https://github.com/vueComponent/ant-design-vue/issues) of this repository and believe that this is not a duplicate. ### Version 4.2.3 ### Environment browser ### Reproduction link [![Edit on...