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

[Bug Report] [Component] [tooltip] el-tooltip does not disappear when the reference element is in <keep-alive> #8287

Closed
MyNameIsNico opened this issue Jun 15, 2022 · 1 comment · Fixed by #8301

Comments

@MyNameIsNico
Copy link

Bug Type: Component

Environment

  • Vue Version: 3.2.37
  • Element Plus Version: 2.1.8
  • Browser / OS: Chrome/Windows
  • Build Tool: Vue CLI

Reproduction

Related Component

  • el-tooltip

Reproduction Link

CodeSandbox

Steps to reproduce

Hover on "Go to About" button to show the tooltip and click it. Alternatively click directly on button without waiting for tooltip.
The dynamic component in the should be switched after click.

What is Expected?

The tooltip disappears after the click on the button, because the button is the reference element and not visible anymore

What is actually happening?

The tooltip is still visible (at top left corner or at the previous button position) after switching the dynamic component in the , but the reference element is not visible anymore. Only after clicking on the tooltip it disappears.

Additional comments

It is also reproducible with the latest version of Element Plus (v2.2.5).

Relevant components/files in Codesandbox example are "App.vue" and "Home.vue" in src folder, nothing else.

tolking pushed a commit that referenced this issue Jun 21, 2022
)

el-tooltip does not disappear when the reference element is in <keep-alive>

closed #8287
@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 Jul 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant