ElemeFE / ElemeFE/element

[Bug Report] Placing tabs inside a modal dialog causes CPU usage to spike to 100% when closing the dialog with destroy-on-close enabled

Open
#20,228 5 comments 2 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.13.2

### OS/Browsers version
Ubuntu 20.04, Chromium 85.0.4183.121/Firefox 80.0.1

### Vue version
2.6.12

### Reproduction Link
https://jsfiddle.net/swzvnj9a/2/

### Steps to reproduce
Create a el-dialog with destroy on close enabled.
Place an el-tabs tabs inside.
Close the dialog.
CPU usage is 100% ...

### What is Expected?
The dialog closes without hanging the browser.

### What is actually happening?
The dialog hangs the browser on close.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.