React-admin: Missing menu dock for dashborad

Created on 30 Mar 2017  路  2Comments  路  Source: marmelab/react-admin

In responsive small mode, Appbar is replaced by current menuItem, that's fine :
image

But when the dashboard is displayed, the menu completly dissapears :
image

I tried to understand why, but did not ...

bug

Most helpful comment

You are right, it works perfectly with a viewTitle.
Just for those who would be looking for how to do it :
```javascript
import React from 'react';
import {ViewTitle} from 'admin-on-rest/lib/mui';
import { Card, CardHeader, CardText } from 'material-ui/Card';
export default (props) => (

...

)
`

All 2 comments

You have to use the <ViewTitle> component inside your dashboard. But I agree with you that it should be documented, so I mark it as a (documentation) bug.

You are right, it works perfectly with a viewTitle.
Just for those who would be looking for how to do it :
```javascript
import React from 'react';
import {ViewTitle} from 'admin-on-rest/lib/mui';
import { Card, CardHeader, CardText } from 'material-ui/Card';
export default (props) => (

...

)
`

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ilaif picture ilaif  路  3Comments

aserrallerios picture aserrallerios  路  3Comments

pixelscripter picture pixelscripter  路  3Comments

waynebloss picture waynebloss  路  3Comments

Kmaschta picture Kmaschta  路  3Comments