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, tooltip] Dropdown with tooltip throws getBoundingClientRect is not a function #16586

Open
krystian-wolarek opened this issue Apr 19, 2024 · 1 comment

Comments

@krystian-wolarek
Copy link

Bug Type: Component

Environment

  • Vue Version: 3.4.23
  • Element Plus Version: 2.7.0
  • Browser / OS: Chrome 123.0.6312.124 / macOS 12.6.3
  • Build Tool: Vue CLI

Reproduction

Related Component

  • el-dropdown
  • el-tooltip

Reproduction Link

Element Plus Playground

Steps to reproduce

Just run project, when el-dropdown trigger is el-tooltip then the error occurs getBoundingClientRect is not a function

Workaround is virtual triggering:
Link to playgorund

What is Expected?

No error

What is actually happening?

error

Additional comments

(empty)

@warmthsea
Copy link
Contributor

El-tooltip not a real html dom, It is not recommended that you use this.
(There seems to be some discrepancy in the documentation)

image

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

No branches or pull requests

2 participants