ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

When the Drawer is used in the DropDown component, the Drawer cannot be popped up

Open lainlee opened this issue 3 years ago • 4 comments
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

Edit on CodeSandbox

Steps to reproduce

刚进入页面的时候,不论怎么点击按钮,Drawer 都不显示,但是点击右键,则同时显示 Drawer 和 Dropdonw menu,之后 Drawer 恢复正常

What is expected?

Drawer 可正常点击展示

What is actually happening?

Drawer 未正常显示,需要先点击右键

lainlee avatar Jul 11 '22 08:07 lainlee

https://codesandbox.io/s/drawer-in-dropdown-example-forked-5vcenu?file=/src/App.vue

抽屉放外面

tangjinzhou avatar Jul 12 '22 02:07 tangjinzhou

https://codesandbox.io/s/drawer-in-dropdown-example-forked-5vcenu?file=/src/App.vue

抽屉放外面

我这是个简单的例子,实际场景里,按钮和抽屉都在一个子组件里,不能保证 drawer 不被 dropdown 包含

lainlee avatar Jul 12 '22 02:07 lainlee

同样遇到这个问题。

liangshuoGitHub avatar May 08 '24 06:05 liangshuoGitHub