|
|
@@ -12,6 +12,8 @@ import { withUnstatedContainers } from './UnstatedUtils';
|
|
|
import AppContainer from '../services/AppContainer';
|
|
|
import NavigationContainer from '../services/NavigationContainer';
|
|
|
|
|
|
+import DrawerToggler from './Navbar/DrawerToggler';
|
|
|
+
|
|
|
import SidebarNav from './Sidebar/SidebarNav';
|
|
|
import SidebarContents from './Sidebar/SidebarContents';
|
|
|
import StickyStretchableScroller from './StickyStretchableScroller';
|
|
|
@@ -145,7 +147,8 @@ class Sidebar extends React.Component {
|
|
|
);
|
|
|
|
|
|
renderSidebarContents = () => {
|
|
|
- const scrollTargetSelector = 'div[data-testid="ContextualNavigation"] div[role="group"]';
|
|
|
+ // const scrollTargetSelector = 'div[data-testid="ContextualNavigation"] div[role="group"]';
|
|
|
+ const scrollTargetSelector = '#grw-sidebar-content-container';
|
|
|
|
|
|
return (
|
|
|
<>
|
|
|
@@ -158,6 +161,8 @@ class Sidebar extends React.Component {
|
|
|
<div id="grw-sidebar-content-container" className="grw-sidebar-content-container">
|
|
|
<SidebarContents />
|
|
|
</div>
|
|
|
+
|
|
|
+ <DrawerToggler iconClass="icon-arrow-left" />
|
|
|
</>
|
|
|
);
|
|
|
};
|