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

drawer 内嵌渲染在当前 dom 里自定义容器 按照官网案例 代码 drawer不显示 #6728

Closed
1 task
LXJ-ziLiang opened this issue Jul 12, 2023 · 4 comments
Labels
🤔 Need Reproduce We cannot reproduce your problem

Comments

@LXJ-ziLiang
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.20

Environment

vue3.2.37

Reproduction link

https://antdv.com/components/drawer-cn/#components-drawer-demo-multi-level-drawer

Steps to reproduce

Render in this

Open

Some contents...

What is expected?

drawer 显示在父级元素内

What is actually happening?

复制黏贴 官网案例代码 drawer 不显示

@LXJ-ziLiang
Copy link
Author

image image

嵌入位置是对的 但是 没有高度 显示不出来

@aibayanyu20
Copy link
Member

具体为什么不显示出来建议提交一个复现的最小demo,官网例子我点了一下没有复现你的问题

@aibayanyu20 aibayanyu20 added the 🤔 Need Reproduce We cannot reproduce your problem label Jul 13, 2023
@github-actions
Copy link

Hello @LXJ-ziLiang. Please provide a online reproduction by forking this link for vue2link for vue3 or a minimal GitHub repository. Make sure to choose the correct version.

你好 @LXJ-ziLiang, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 for vue2此处 for vue3 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。

@LXJ-ziLiang
Copy link
Author

image 找到问题了 是我全局设置的一个css position:relative 去了就行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤔 Need Reproduce We cannot reproduce your problem
Projects
None yet
Development

No branches or pull requests

2 participants