@syncfusion/ej2-navigations 19.3.56 → 19.3.57
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 +4 -4
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +4 -4
- 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 -8
- package/src/sidebar/sidebar.js +4 -4
|
@@ -14791,7 +14791,7 @@ var Sidebar = /** @__PURE__ @class */ (function (_super) {
|
|
|
14791
14791
|
Sidebar.prototype.setTimeOut = function () {
|
|
14792
14792
|
var sibling = document.querySelector('.e-main-content') || this.targetEle;
|
|
14793
14793
|
var elementWidth = this.element.getBoundingClientRect().width;
|
|
14794
|
-
if (this.element.classList.contains(OPEN) && sibling) {
|
|
14794
|
+
if (this.element.classList.contains(OPEN) && sibling && !(this.type === 'Over' && this.enableDock)) {
|
|
14795
14795
|
if (this.position === 'Left') {
|
|
14796
14796
|
sibling.style.marginLeft = this.setDimension(this.width === 'auto' ? elementWidth : this.width);
|
|
14797
14797
|
}
|
|
@@ -15100,7 +15100,7 @@ var Sidebar = /** @__PURE__ @class */ (function (_super) {
|
|
|
15100
15100
|
var sibling = document.querySelector('.e-main-content') || this.targetEle;
|
|
15101
15101
|
if (sibling) {
|
|
15102
15102
|
sibling.style.transform = 'translateX(' + 0 + 'px)';
|
|
15103
|
-
if (!Browser.isDevice && this.type !== 'Auto') {
|
|
15103
|
+
if (!Browser.isDevice && this.type !== 'Auto' && !(this.type === 'Over' && this.enableDock)) {
|
|
15104
15104
|
sibling.style[this.position === 'Left' ? 'marginLeft' : 'marginRight'] = '0px';
|
|
15105
15105
|
}
|
|
15106
15106
|
}
|
|
@@ -15122,9 +15122,9 @@ var Sidebar = /** @__PURE__ @class */ (function (_super) {
|
|
|
15122
15122
|
break;
|
|
15123
15123
|
case 'Over':
|
|
15124
15124
|
addClass([this.element], [OVER]);
|
|
15125
|
-
if (this.enableDock && this.element.classList.contains(CLOSE)) {
|
|
15125
|
+
if (this.enableDock && (this.element.classList.contains(CLOSE) || this.isOpen)) {
|
|
15126
15126
|
if (sibling) {
|
|
15127
|
-
sibling.style[this.position === 'Left' ? 'marginLeft' : 'marginRight'] =
|
|
15127
|
+
sibling.style[this.position === 'Left' ? 'marginLeft' : 'marginRight'] = this.setDimension(this.dockSize);
|
|
15128
15128
|
}
|
|
15129
15129
|
}
|
|
15130
15130
|
break;
|