Skip to content
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

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

Open
1 task
lainlee opened this issue Jul 11, 2022 · 4 comments
Open
1 task

Comments

@lainlee
Copy link

lainlee commented Jul 11, 2022

  • 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 未正常显示,需要先点击右键

@tangjinzhou
Copy link
Member

@lainlee
Copy link
Author

lainlee commented Jul 12, 2022

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

抽屉放外面

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

@liangshuoGitHub
Copy link

同样遇到这个问题。

@15886773882
Copy link

2024年了这个问题还在

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants