Element: [Bug Report] Tabs using CPU when component in backgroud pane

Created on 14 Nov 2017  ·  2Comments  ·  Source: ElemeFE/element

Element UI version

1.4.10

OS/Browsers version

macOS High Sierra / Chrome 62

Vue version

2.5.3

Reproduction Link

https://jsfiddle.net/stefanosandes/3r5umcmy/1/

Steps to reproduce

1 - Open repro link
2 - Open Chrome Task manager
3 - Look the CPU column (it keep above 9)
4 - Comment or remove the table inside the second tab-pane
5 - Run fiddle again
6 - Look the CPU column (it keep between 0 and 1)

What is Expected?

No extra CPU consumption when component is in background.

What is actually happening?

Extra CPU consumption when component in background tab-pane. Comsuption may be highest depending the component complexit in background tab.

Most helpful comment

All 2 comments

I also get strange behaviour from tabs in combination with tables. https://github.com/ElemeFE/element/issues/8295

Was this page helpful?
0 / 5 - 0 ratings

Related issues

smallpath picture smallpath  ·  3Comments

yubo111 picture yubo111  ·  3Comments

Kingwl picture Kingwl  ·  3Comments

dbskccc picture dbskccc  ·  3Comments

akaylh picture akaylh  ·  3Comments