We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c699e2 commit 84730a4Copy full SHA for 84730a4
production/react/demos/src/common/index.tsx
11 Bytes
src/common/index.tsx
@@ -574,10 +574,10 @@ export function toggleLeftPane(): void {
574
* Resize event processing
575
*/
576
function processResize(e: any): void {
577
- if (resizeManualTrigger) {
+ isMobile = document.body.offsetWidth <= 550;
578
+ if (resizeManualTrigger || (isMobile && !select('.sb-mobile-right-pane').classList.contains('sb-hide'))) {
579
return;
580
}
- isMobile = document.body.offsetWidth <= 550;
581
isTablet = document.body.offsetWidth >= 550 && document.body.offsetWidth <= 850;
582
isPc = document.body.offsetWidth >= 850;
583
processDeviceDependables();
0 commit comments