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

nicgirault picture nicgirault  路  3Comments

Dragomir-Ivanov picture Dragomir-Ivanov  路  3Comments

yangjiamu picture yangjiamu  路  3Comments

samanmohamadi picture samanmohamadi  路  3Comments

mbj36 picture mbj36  路  3Comments