Browse Source

fix https://redmine.weseek.co.jp/issues/86678

Yuki Takei 4 years ago
parent
commit
fd77abd3c7

+ 1 - 1
packages/app/src/components/Sidebar.tsx

@@ -72,7 +72,7 @@ const SidebarContentsWrapper = () => {
       />
       />
 
 
       <div id="grw-sidebar-contents-scroll-target" style={{ minHeight: '100%' }}>
       <div id="grw-sidebar-contents-scroll-target" style={{ minHeight: '100%' }}>
-        <div id="grw-sidebar-content-container" onLoad={() => setResetKey(Math.random())}>
+        <div id="grw-sidebar-content-container" className="grw-sidebar-content-container" onLoad={() => setResetKey(Math.random())}>
           <SidebarContents />
           <SidebarContents />
         </div>
         </div>
       </div>
       </div>

+ 6 - 0
packages/app/src/styles/_sidebar.scss

@@ -44,6 +44,7 @@
       flex-direction: row;
       flex-direction: row;
       height: 100%;
       height: 100%;
       overflow: hidden;
       overflow: hidden;
+
       .grw-contextual-navigation {
       .grw-contextual-navigation {
         position: relative;
         position: relative;
         width: 240px;
         width: 240px;
@@ -77,6 +78,11 @@
           }
           }
         }
         }
       }
       }
+
+      .grw-sidebar-content-container {
+        position: relative;
+        z-index: 110; // greater than the value of .grw-navigation-draggable to fix https://redmine.weseek.co.jp/issues/86678
+      }
     }
     }
     .grw-navigation-draggable {
     .grw-navigation-draggable {
       position: absolute;
       position: absolute;