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

[Component] [dropdown] dropdown组件下拉态,在dom元素全屏状态下无法显示 #13636

Closed
liujianya371 opened this issue Jul 18, 2023 · 7 comments

Comments

@liujianya371
Copy link

Bug Type: Component

Environment

  • Vue Version: 3.2.25
  • Element Plus Version: 2.2.6
  • Browser / OS: chrome 114.0.5735.198(正式版本) (x86_64)
  • Build Tool: Vite

Reproduction

Related Component

  • el-dropdown

Reproduction Link

Element Plus Playground

Steps to reproduce

1 非全屏状态下点击下拉列表:显示正常
2 点击全屏
3 全屏状态下在点击下拉列表: 下拉无法显示

What is Expected?

期望:全屏状态下,下拉组件正常。

What is actually happening?

全屏状态下下拉组件显示不正常,无论设置teleported是true还是false,不起作用,下拉dom永远在body下。

Additional comments

(empty)

@kaine0923
Copy link
Contributor

teleported false Element Plus Playground

@liujianya371
Copy link
Author

image image 我本地设置这个属性了,teleported false 可是没用

@liujianya371
Copy link
Author

image

@kaine0923

@kaine0923
Copy link
Contributor

image

Can you provide minimal reproduction?

@kaine0923
Copy link
Contributor

I see you need to update the Element-plus version, dropdown teleported attr supported in ver 2.2.20  #10012

@liujianya371
Copy link
Author

好的,我刚刚也试出来了,2.2.20版本修复了这个问题。
多谢,我升级一下。

@github-actions
Copy link

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.

此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。

@github-actions github-actions bot locked and limited conversation to collaborators Aug 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants