ant-design-vue
ant-design-vue copied to clipboard
When the Drawer is used in the DropDown component, the Drawer cannot be popped up
trafficstars
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
Version
3.3.0-beta.2
Environment
vue: 3.2.37,chrome: 103.0.5060.114
Reproduction link
Steps to reproduce
刚进入页面的时候,不论怎么点击按钮,Drawer 都不显示,但是点击右键,则同时显示 Drawer 和 Dropdonw menu,之后 Drawer 恢复正常
What is expected?
Drawer 可正常点击展示
What is actually happening?
Drawer 未正常显示,需要先点击右键
https://codesandbox.io/s/drawer-in-dropdown-example-forked-5vcenu?file=/src/App.vue
抽屉放外面
https://codesandbox.io/s/drawer-in-dropdown-example-forked-5vcenu?file=/src/App.vue
抽屉放外面
我这是个简单的例子,实际场景里,按钮和抽屉都在一个子组件里,不能保证 drawer 不被 dropdown 包含
同样遇到这个问题。