pro-components icon indicating copy to clipboard operation
pro-components copied to clipboard

🏆 Use Ant Design like a Pro!

Results 761 pro-components issues
Sort by recently updated
recently updated
newest added

ProLayout 是ProComponents特别重要的组件,也是UMI默认的Layout。相当于ProComponents的门脸,细节非常重要,望大佬们能够重视这个控件,在优化下。 问题:ProLayout 在展开二级菜单的情况下,收缩侧边拦, 会看到菜单箭头一闪而过 ![image](https://github.com/ant-design/pro-components/assets/100838736/e6fc3327-417f-4528-aa22-eefe7c18bd9a) 以下是收缩侧边拦,逐帧截屏 ![image](https://github.com/ant-design/pro-components/assets/100838736/c6273d10-471d-43f8-a4f1-a335af027e5b) 箭头由黑色逐步变浅,菜单完全展开后消失 ![image](https://github.com/ant-design/pro-components/assets/100838736/5d6050bf-2f75-4fb9-9e61-95b89c2e40ec)

### 🐛 bug 描述 ProFormTimePicker 加个 name 属性后 ,选择时间组件显示 Invalid Date 去掉 name 则正常 ### 📷 复现步骤 ### © 版本信息 - ProComponents 版本: [2.6.45] - umi 版本 - 浏览器环境 -...

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🧐 问题描述 请问 pro-layout 在 mix 模式下,侧边栏样式如何设置为和普通模式下一样的效果 ### 💻 示例代码 ### 🚑 其他信息 mix 模式下的样式: ![image](https://github.com/ant-design/pro-components/assets/37094714/df6b2b26-cf84-48ce-8296-42f7017d35b9) 期望样式: ![image](https://github.com/ant-design/pro-components/assets/37094714/0a76e385-7e8c-49cf-b5d8-2b62c52464cb)

> ### 🐛 bug 描述 ProDescriptions 组件使用属性 emptyText={} 报错:React does not recognize the emptyText prop on a DOM element > ### 📷 复现步骤 ProDescriptions 设置 emptyText 属性 > ### 🏞...

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 EditableProTable可新增多行时,点击默认保存按钮,会校验多行,期望只校验当前行 ### 📷 复现步骤 https://procomponents.ant.design/components/editable-table#%E4%B8%8E-formitem-%E9%85%8D%E5%90%88 官网的`与 FormItem 配合`示例,新增两行后,只填写一行的信息,点击保存,会校验两行的数据。两行信息都填写完整后点击保存,只会保存一行的数据。 ![image](https://github.com/ant-design/pro-components/assets/28568597/d975d2c9-9401-4b2a-9431-9ceeab7817d7) ![image](https://github.com/ant-design/pro-components/assets/28568597/861f9f86-6070-477a-af4f-86393901f953) ### 🏞 期望结果 点击保存时,要么所有行信息都校验,然后保存所有行信息;要么只校验当前行信息,保存当前行信息。而此处保存按钮的位置,应该是只校验当前行信息,保存当前行信息 ### 💻 复现代码 ### © 版本信息 ### 🚑 其他信息

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🧐 问题描述 ### 💻 示例代码 ### 🚑 其他信息

提问前先看看: ### 🧐 EditableProTable 编辑行点击保存时,如何获取表单项校验失败的结果? EditableProTable 表单项设置为必填后 ,如果该项不填,保存时在onsave这个api中拿不到校验失败的信息,只能在控制台看到,期望能再onsave中拿到校验失败的信息 ### 💻 示例代码

### 🐛 bug 描述 如题,非常简洁明了的BUG 我不知道是procomponents的问题还是5.0 cssVar的问题。 因为我刚才提交了一个cssVar的Bug🤣 但这个问题我只在LoginForm里出现了我就提到这来了。 反正 `cssVar` 开启之后, 没切换算法前一切正常: ![image](https://github.com/ant-design/pro-components/assets/45784210/2bee33ed-2ab0-4b04-88ca-b9e0abf0d156) 切换之后就会多出一个类名: ![image](https://github.com/ant-design/pro-components/assets/45784210/05d91d7f-94ac-4d22-bff9-10674668375d) 然后再怎么切这个类名也不会消失了,颜色就回不去了。 没有开启 `cssVar` 时, 切换之后这个多出来的类名会消失。 我感觉是这里的问题 我甚至不知道这个和antd是不是一个团队🤣 求告知 ### 📷 复现步骤 单击按钮切换算法 https://codesandbox.io/p/sandbox/antd-reproduction-template-forked-rdppc6?file=%2Findex.js%3A20%2C26 CodeSandbox慢死了。。...

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 ### 📷 复现步骤 任意拖动一行数据,将其拖拽出表格之外(整个页面有滚动条的情况下),会一直往下滚动,无法向上滚动 ### 🏞 期望结果 期望拖拽出表格区域后,不会自动往下继续滚动 ### 💻 复现代码 此在线案例可复现 https://codesandbox.io/s/tuo-zhuai-pai-xu-forked-q887rg?file=/App.tsx ### © 版本信息 - ProComponents 版本: [e.g. 4.0.0] - umi 版本...

table
🎖️ featrue

### 🐛 bug 描述 在 ProFormList 中使用了 ProFormDependency 监听 ProFormDigit 的值做一些动态 UI,**_在 ProFormDigit 的值为整数 0 时,ProFormDependency 监听到的值为 undefined_**,其他数值一切正常,包括负数。在非 ProFormList 包裹的 Form 场景使用时,上述的组件搭配使用一切正常。 ### 📷 复现步骤 使用以下代码片段,问题必现: ![image](https://github.com/ant-design/pro-components/assets/74588098/302bcf1b-e2f6-46d9-bd08-2baacb7e491b) ### 🏞 期望结果...