@syncfusion/ej2-layouts 33.1.47 → 33.2.3
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/dist/ej2-layouts.min.js +2 -2
- package/dist/ej2-layouts.umd.min.js +2 -2
- package/dist/ej2-layouts.umd.min.js.map +1 -1
- package/dist/es6/ej2-layouts.es2015.js +4 -2
- package/dist/es6/ej2-layouts.es2015.js.map +1 -1
- package/dist/es6/ej2-layouts.es5.js +4 -2
- package/dist/es6/ej2-layouts.es5.js.map +1 -1
- package/dist/global/ej2-layouts.min.js +2 -2
- package/dist/global/ej2-layouts.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +2 -2
- package/src/splitter/splitter.d.ts +1 -0
- package/src/splitter/splitter.js +4 -2
|
@@ -295,6 +295,7 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
|
|
|
295
295
|
this.onMouseUpHandler = this.onMouseUp.bind(this);
|
|
296
296
|
this.onTouchMoveHandler = this.onMouseMove.bind(this);
|
|
297
297
|
this.onTouchEndHandler = this.onMouseUp.bind(this);
|
|
298
|
+
this.documentClickHandler = this.onDocumentClick.bind(this);
|
|
298
299
|
this.wrapper = this.element.cloneNode(true);
|
|
299
300
|
this.wrapperParent = this.element.parentElement;
|
|
300
301
|
removeClass([this.wrapper], ['e-control', 'e-lib', ROOT]);
|
|
@@ -341,7 +342,7 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
|
|
|
341
342
|
this.collapseFlag = true;
|
|
342
343
|
this.isCollapsed();
|
|
343
344
|
this.collapseFlag = false;
|
|
344
|
-
EventHandler.add(document, 'touchstart click', this.
|
|
345
|
+
EventHandler.add(document, 'touchstart click', this.documentClickHandler);
|
|
345
346
|
this.renderComplete();
|
|
346
347
|
this.element.ownerDocument.defaultView.addEventListener('resize', this.onReportWindowSize, true);
|
|
347
348
|
EventHandler.add(this.element, 'keydown', this.onMove, this);
|
|
@@ -2232,7 +2233,8 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
|
|
|
2232
2233
|
Splitter.prototype.destroy = function () {
|
|
2233
2234
|
if (!this.isDestroyed) {
|
|
2234
2235
|
_super.prototype.destroy.call(this);
|
|
2235
|
-
EventHandler.remove(document, 'touchstart click', this.
|
|
2236
|
+
EventHandler.remove(document, 'touchstart click', this.documentClickHandler);
|
|
2237
|
+
this.documentClickHandler = null;
|
|
2236
2238
|
EventHandler.remove(this.element, 'keydown', this.onMove);
|
|
2237
2239
|
this.element.ownerDocument.defaultView.removeEventListener('resize', this.onReportWindowSize, true);
|
|
2238
2240
|
while (this.element.attributes.length > 0) {
|