@syncfusion/ej2-navigations 19.4.40 → 19.4.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/ej2-navigations.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +11 -5
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +11 -5
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +2 -2
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +8 -7
- package/src/tab/tab.d.ts +7 -1
- package/src/tab/tab.js +11 -5
|
@@ -7213,7 +7213,7 @@ let Tab = class Tab extends Component {
|
|
|
7213
7213
|
this.isAdd = false;
|
|
7214
7214
|
this.isIconAlone = false;
|
|
7215
7215
|
this.draggableItems = [];
|
|
7216
|
-
this.resizeContext = this.
|
|
7216
|
+
this.resizeContext = this.refreshActiveTabBorder.bind(this);
|
|
7217
7217
|
/**
|
|
7218
7218
|
* Contains the keyboard configuration of the Tab.
|
|
7219
7219
|
*/
|
|
@@ -7662,7 +7662,7 @@ let Tab = class Tab extends Component {
|
|
|
7662
7662
|
trg.classList.remove(CLS_CLOSE_SHOW);
|
|
7663
7663
|
}
|
|
7664
7664
|
this.tbObj.refreshOverflow();
|
|
7665
|
-
this.
|
|
7665
|
+
this.refreshActiveTabBorder();
|
|
7666
7666
|
}
|
|
7667
7667
|
prevCtnAnimation(prev, current) {
|
|
7668
7668
|
let animation;
|
|
@@ -8372,7 +8372,13 @@ let Tab = class Tab extends Component {
|
|
|
8372
8372
|
break;
|
|
8373
8373
|
}
|
|
8374
8374
|
}
|
|
8375
|
-
|
|
8375
|
+
/**
|
|
8376
|
+
* Refresh the active tab border
|
|
8377
|
+
*
|
|
8378
|
+
* @returns {void}
|
|
8379
|
+
* @private
|
|
8380
|
+
*/
|
|
8381
|
+
refreshActiveTabBorder() {
|
|
8376
8382
|
const activeEle = select('.' + CLS_TB_ITEM + '.' + CLS_TB_POPUP + '.' + CLS_ACTIVE$1, this.element);
|
|
8377
8383
|
if (!isNullOrUndefined(activeEle) && this.reorderActiveTab) {
|
|
8378
8384
|
this.select(this.getEleIndex(activeEle));
|
|
@@ -9113,7 +9119,7 @@ let Tab = class Tab extends Component {
|
|
|
9113
9119
|
this.setCloseButton(newProp.showCloseButton);
|
|
9114
9120
|
break;
|
|
9115
9121
|
case 'reorderActiveTab':
|
|
9116
|
-
this.
|
|
9122
|
+
this.refreshActiveTabBorder();
|
|
9117
9123
|
break;
|
|
9118
9124
|
case 'selectedItem':
|
|
9119
9125
|
this.selectedItem = oldProp.selectedItem;
|
|
@@ -9128,7 +9134,7 @@ let Tab = class Tab extends Component {
|
|
|
9128
9134
|
case 'overflowMode':
|
|
9129
9135
|
this.tbObj.overflowMode = newProp.overflowMode;
|
|
9130
9136
|
this.tbObj.dataBind();
|
|
9131
|
-
this.
|
|
9137
|
+
this.refreshActiveTabBorder();
|
|
9132
9138
|
break;
|
|
9133
9139
|
case 'heightAdjustMode':
|
|
9134
9140
|
this.setContentHeight(false);
|