-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Dropdown 弹窗的宽度显示异常 #2559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
1. 弹窗错位更新 ant-design-vue 版本,使用 1.6.3 正常。 2. DropDown 宽度v-for 中 key 一样,导致不会重新渲染 DOM,将 key 变成唯一即可。 具体查看:https://codesandbox.io/s/blissful-austin-e56hz?file=/src/App.vue |
多谢,已解决,打扰了 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
undefined
Environment
http://gzdxda.vicp.io:9912/,任何一个环境都可以复现,账号:15813374073 密码:123456
Reproduction link
http://gzdxda.vicp.io:9912/
Steps to reproduce
下拉菜单平分父级元素的宽度自适应,当宽度从小变大后再变小,弹窗的宽度显示异常
What is expected?
下拉菜单弹窗的宽度能与菜单宽度一致
What is actually happening?
下拉菜单弹窗的宽度只能变大,不能缩小
The text was updated successfully, but these errors were encountered: