diff --git a/core/src/navigation/services/semi-collapsed-navigation.js b/core/src/navigation/services/semi-collapsed-navigation.js
index <HASH>..<HASH> 100644
--- a/core/src/navigation/services/semi-collapsed-navigation.js
+++ b/core/src/navigation/services/semi-collapsed-navigation.js
@@ -41,6 +41,7 @@ class SemiCollapsibleNavigationClass {
 
   onResize(selectedCategory) {
     const isDesktopToMobile =
+      window.innerWidth !== 0 &&
       window.innerWidth < CSS_BREAKPOINTS.desktopMinWidth &&
       this.previousWindowWidth >= CSS_BREAKPOINTS.desktopMinWidth;
     if (isDesktopToMobile) {
Fix semicollapsible issue (#<I>)