[bugfix] Tab: incorrect title position when insert tab pane (#4091)
This commit is contained in:
+4
-1
@@ -110,8 +110,11 @@ export default createComponent({
|
||||
|
||||
children() {
|
||||
this.setCurrentIndexByName(this.currentName || this.active);
|
||||
this.scrollIntoView();
|
||||
this.setLine();
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.scrollIntoView(true);
|
||||
});
|
||||
},
|
||||
|
||||
currentIndex() {
|
||||
|
||||
Reference in New Issue
Block a user