@syncfusion/ej2-navigations 20.2.49 → 20.2.50

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.2.49
3
+ * version : 20.2.50
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-navigations@*",
3
- "_id": "@syncfusion/ej2-navigations@20.2.48",
3
+ "_id": "@syncfusion/ej2-navigations@20.2.49",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-cFToff9xzKImVn3sFHP4qXp2AMrE+8RA7FoUqIxKXjeq8gKECdeNt11qkflQ6y6m/SffaVG7JJ3veWTB23aJJg==",
5
+ "_integrity": "sha512-QWo23LdhTxEC1sDeDUts4kHXsOA+rvN1AIB0FwOAovw9qIlIeZj50rGMMqqEvhkgPX+QeCNfx8I7Jhp8TNgPWA==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -37,8 +37,8 @@
37
37
  "/@syncfusion/ej2-spreadsheet",
38
38
  "/@syncfusion/ej2-vue-navigations"
39
39
  ],
40
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.2.48.tgz",
41
- "_shasum": "e401f900fbc8f8f319f75c4e102180d67cf8e5a6",
40
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.2.49.tgz",
41
+ "_shasum": "71b865bacc3b00a97d00c51c0c6d23925d887c21",
42
42
  "_spec": "@syncfusion/ej2-navigations@*",
43
43
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
44
44
  "author": {
@@ -159,6 +159,6 @@
159
159
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
160
160
  },
161
161
  "typings": "index.d.ts",
162
- "version": "20.2.49",
162
+ "version": "20.2.50",
163
163
  "sideEffects": false
164
164
  }
package/src/tab/tab.js CHANGED
@@ -1060,8 +1060,8 @@ var Tab = /** @class */ (function (_super) {
1060
1060
  }
1061
1061
  else {
1062
1062
  if (this.overflowMode === 'MultiRow') {
1063
- var bar_1 = select('.' + CLS_INDICATOR, this.element);
1064
- setStyle(bar_1, { 'top': trg.offsetHeight + trg.offsetTop + 'px', 'height': '' });
1063
+ var top_1 = this.headerPlacement === 'Bottom' ? trg.offsetTop : trg.offsetHeight + trg.offsetTop;
1064
+ setStyle(bar, { 'top': top_1 + 'px', 'height': '' });
1065
1065
  }
1066
1066
  else {
1067
1067
  setStyle(bar, { 'top': '', 'height': '' });
@@ -1029,6 +1029,7 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
1029
1029
  private setCssClass;
1030
1030
  private editingHandler;
1031
1031
  private createTextbox;
1032
+ private renderTextBox;
1032
1033
  private updateOldText;
1033
1034
  private inputFocusOut;
1034
1035
  private appendNewText;
@@ -2736,27 +2736,37 @@ var TreeView = /** @class */ (function (_super) {
2736
2736
  this.trigger('nodeEditing', eventArgs, function (observedArgs) {
2737
2737
  if (!observedArgs.cancel) {
2738
2738
  var inpWidth = textEle.offsetWidth + 5;
2739
- var style = 'width:' + inpWidth + 'px';
2739
+ var style_1 = 'width:' + inpWidth + 'px';
2740
2740
  addClass([liEle], EDITING);
2741
2741
  if (!isNOU(_this.nodeTemplateFn)) {
2742
2742
  _this.destroyTemplate(liEle);
2743
2743
  }
2744
- textEle.innerHTML = eventArgs.innerHtml;
2745
- var inpEle = select('.' + TREEINPUT, textEle);
2746
- _this.inputObj = Input.createInput({
2747
- element: inpEle,
2748
- properties: {
2749
- enableRtl: _this.enableRtl,
2750
- }
2751
- }, _this.createElement);
2752
- _this.inputObj.container.setAttribute('style', style);
2753
- inpEle.focus();
2754
- var inputEle = inpEle;
2755
- inputEle.setSelectionRange(0, inputEle.value.length);
2756
- _this.wireInputEvents(inpEle);
2744
+ if (_this.isReact) {
2745
+ setTimeout(function () {
2746
+ _this.renderTextBox(eventArgs, textEle, style_1);
2747
+ }, 5);
2748
+ }
2749
+ else {
2750
+ _this.renderTextBox(eventArgs, textEle, style_1);
2751
+ }
2757
2752
  }
2758
2753
  });
2759
2754
  };
2755
+ TreeView.prototype.renderTextBox = function (eventArgs, textEle, style) {
2756
+ textEle.innerHTML = eventArgs.innerHtml;
2757
+ var inpEle = select('.' + TREEINPUT, textEle);
2758
+ this.inputObj = Input.createInput({
2759
+ element: inpEle,
2760
+ properties: {
2761
+ enableRtl: this.enableRtl,
2762
+ }
2763
+ }, this.createElement);
2764
+ this.inputObj.container.setAttribute('style', style);
2765
+ inpEle.focus();
2766
+ var inputEle = inpEle;
2767
+ inputEle.setSelectionRange(0, inputEle.value.length);
2768
+ this.wireInputEvents(inpEle);
2769
+ };
2760
2770
  TreeView.prototype.updateOldText = function (liEle) {
2761
2771
  var id = liEle.getAttribute('data-uid');
2762
2772
  this.editData = this.getNodeObject(id);