@syncfusion/ej2-navigations 20.3.49 → 20.3.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.3.49
3
+ * version : 20.3.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.3.48",
3
+ "_id": "@syncfusion/ej2-navigations@20.3.49",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-Q2g0BP2zJb+C4pecEmgaBUuEYq3B3ITJefvx+s7bg0G8tB4OAHpr74x/AxghpQABAmLccQ5ie6zoVtO4QYR2mw==",
5
+ "_integrity": "sha512-KHL1MVbJt9hnHQl0KTaLfx9sPzMbX61mw3s0VmdVkaA7XWShAcyVHUyuSEWyli0ekNy6Q+CG9+stpoYfRI3l3g==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -38,8 +38,8 @@
38
38
  "/@syncfusion/ej2-spreadsheet",
39
39
  "/@syncfusion/ej2-vue-navigations"
40
40
  ],
41
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.3.48.tgz",
42
- "_shasum": "874054b33a192fabfd69aba5edfaf2b724d2adce",
41
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.3.49.tgz",
42
+ "_shasum": "685d9fd92f3c501013e684f803032b9e339234b4",
43
43
  "_spec": "@syncfusion/ej2-navigations@*",
44
44
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
45
45
  "author": {
@@ -50,12 +50,12 @@
50
50
  },
51
51
  "bundleDependencies": false,
52
52
  "dependencies": {
53
- "@syncfusion/ej2-base": "~20.3.49",
54
- "@syncfusion/ej2-buttons": "~20.3.49",
55
- "@syncfusion/ej2-data": "~20.3.47",
56
- "@syncfusion/ej2-inputs": "~20.3.49",
57
- "@syncfusion/ej2-lists": "~20.3.47",
58
- "@syncfusion/ej2-popups": "~20.3.49"
53
+ "@syncfusion/ej2-base": "~20.3.50",
54
+ "@syncfusion/ej2-buttons": "~20.3.50",
55
+ "@syncfusion/ej2-data": "~20.3.50",
56
+ "@syncfusion/ej2-inputs": "~20.3.50",
57
+ "@syncfusion/ej2-lists": "~20.3.50",
58
+ "@syncfusion/ej2-popups": "~20.3.50"
59
59
  },
60
60
  "deprecated": false,
61
61
  "description": "A package of Essential JS 2 navigation components such as Tree-view, Tab, Toolbar, Context-menu, and Accordion which is used to navigate from one page to another",
@@ -160,6 +160,6 @@
160
160
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
161
161
  },
162
162
  "typings": "index.d.ts",
163
- "version": "20.3.49",
163
+ "version": "20.3.50",
164
164
  "sideEffects": false
165
165
  }
@@ -1841,9 +1841,9 @@ var MenuBase = /** @class */ (function (_super) {
1841
1841
  ul.querySelector('.' + FOCUSED).focus();
1842
1842
  }
1843
1843
  else {
1844
+ var ele = this.getWrapper().children[this.getIdx(this.getWrapper(), ul) - 1];
1844
1845
  if (this.currentTarget) {
1845
- if (!(this.currentTarget.classList.contains("e-numerictextbox") || this.currentTarget.classList.contains("e-textbox"))) {
1846
- var ele = this.getWrapper().children[this.getIdx(this.getWrapper(), ul) - 1];
1846
+ if (!(this.currentTarget.classList.contains("e-numerictextbox") || this.currentTarget.classList.contains("e-textbox") || this.currentTarget.tagName === 'INPUT')) {
1847
1847
  if (ele) {
1848
1848
  ele.querySelector('.' + SELECTED).focus();
1849
1849
  }
@@ -1852,6 +1852,14 @@ var MenuBase = /** @class */ (function (_super) {
1852
1852
  }
1853
1853
  }
1854
1854
  }
1855
+ else {
1856
+ if (ele) {
1857
+ ele.querySelector('.' + SELECTED).focus();
1858
+ }
1859
+ else {
1860
+ this.element.focus();
1861
+ }
1862
+ }
1855
1863
  }
1856
1864
  }
1857
1865
  else {