1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

use pathname as scrollKey

This commit is contained in:
ivaosthu 2016-12-29 12:29:31 +01:00
parent c5b6f8b808
commit 3e526e655e

View File

@ -119,7 +119,7 @@ export default class App extends Component {
{createListItem('/applications', 'Applications', 'apps')}
</Navigation>
</Drawer>
<ScrollContainer scrollKey="main">
<ScrollContainer scrollKey={window.location.pathname}>
<Content>
<Grid shadow={1} style={{ maxWidth: '1200px', margin: '0 auto' }}>
<Cell col={12}>