diff options
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/sidebar.jsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webapp/components/sidebar.jsx b/webapp/components/sidebar.jsx index d20fef603..be0fb205b 100644 --- a/webapp/components/sidebar.jsx +++ b/webapp/components/sidebar.jsx @@ -169,6 +169,9 @@ export default class Sidebar extends React.Component { $('.sidebar--left .nav-pills__container').perfectScrollbar(); } + this.refs.container.scrollTop = 0; + $('.nav-pills__container').perfectScrollbar('update'); + // close the LHS on mobile when you change channels if (this.state.activeId !== prevState.activeId) { $('.app__body .inner-wrap').removeClass('move--right'); |