element [Bug Report] Cannot read property scrollToActiveTab of undefined in Tabs component

weylhg0b  于 2个月前  发布在  其他
关注(0)|答案(9)|浏览(37)

Element UI version

2.4.9

OS/Browsers version

Chrome, Firefox

Vue version

2.5.17

github.com

Steps to reproduce

It is a private organization repo
Will share the screen recording along with the issue

What is Expected?

No errors

What is actually happening?

The tabs js file throws the error
Cannot read property scrollToActiveTab of undefined
Applications breaks

6yjfywim

6yjfywim1#

The app is rendered inside iframe inside another app and the page gets broken

7ivaypg9

7ivaypg93#

I have the same issue. It seems to happen when changing the layout, thus unmounting everything (el-tabs).

pkbketx9

pkbketx94#

I found a workaround by downgrading to 2.4.5.

Also reported here by multiple people: #14292

kqlmhetl

kqlmhetl5#

Did the same. downgraded it. But this needs a fix

yfwxisqw

yfwxisqw6#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

huus2vyu

huus2vyu7#

我也遇到了同样的报错

cwtwac6a

cwtwac6a8#

Any updates on this issue? Are there workarounds while still using the latest 2.x branch?

9nvpjoqh

9nvpjoqh9#

Hi! Looks like a contributor already send a PR ~2 years ago #20996

相关问题