From 4bd5e90142b015a213850440864ecf69d42abd67 Mon Sep 17 00:00:00 2001 From: pipeline Date: Tue, 14 Nov 2017 10:06:59 +0000 Subject: [PATCH] config(ej2-5376): Replaced the forum link --- index.html | 2 +- src/common/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 05358044..61f6909d 100644 --- a/index.html +++ b/index.html @@ -281,7 +281,7 @@ - + diff --git a/src/common/index.ts b/src/common/index.ts index 15e5e860..dac024f7 100644 --- a/src/common/index.ts +++ b/src/common/index.ts @@ -508,10 +508,10 @@ function onPrevButtonClick(arg: MouseEvent): void { * Resize event processing */ function processResize(e: any): void { - if (resizeManualTrigger) { + isMobile = window.matchMedia('(max-width:550px)').matches; + if (resizeManualTrigger || (isMobile && !select('.sb-mobile-right-pane').classList.contains('sb-hide'))) { return; } - isMobile = window.matchMedia('(max-width:550px)').matches; isTablet = window.matchMedia('(min-width:550px) and (max-width: 850px)').matches; isPc = window.matchMedia('(min-width:850px)').matches; processDeviceDependables();