Skip to content

[Bug Report] Tab order does not update when array is sorted #12549

@ChuckFields

Description

@ChuckFields

Element UI version

2.4.6

OS/Browsers version

Windows 10 / Chrome latest

Vue version

2.5.17

Reproduction Link

https://jsfiddle.net/vmhLo8wz/62/

Steps to reproduce

Click the "sort array randomly" button

What is Expected?

The order of the tabs will match the order of the array.

What is actually happening?

The tabs are staying in the order they were created.

Note: I've found work arounds, but they all require destroying the tab panes and re-mounting.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions