{"action":"created","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/1236","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/1236/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/1236/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/1236/events","html_url":"https://github.com/callemall/material-ui/issues/1236","id":96428590,"number":1236,"title":"New Components Menu and MenuItem doesn't work","user":{"login":"eyscode","id":1343303,"avatar_url":"https://avatars.githubusercontent.com/u/1343303?v=3","gravatar_id":"","url":"https://api.github.com/users/eyscode","html_url":"https://github.com/eyscode","followers_url":"https://api.github.com/users/eyscode/followers","following_url":"https://api.github.com/users/eyscode/following{/other_user}","gists_url":"https://api.github.com/users/eyscode/gists{/gist_id}","starred_url":"https://api.github.com/users/eyscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eyscode/subscriptions","organizations_url":"https://api.github.com/users/eyscode/orgs","repos_url":"https://api.github.com/users/eyscode/repos","events_url":"https://api.github.com/users/eyscode/events{/privacy}","received_events_url":"https://api.github.com/users/eyscode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-21T22:12:44Z","updated_at":"2015-07-22T09:10:09Z","closed_at":null,"body":"I've tried to use the new components Menu and MenuItem in a project as the website shows but I couldn't, when the component is rendered the menu is not visible and width is always 0, I thought it was a problem with styles of my project, so I tried to use it in clean tiny example just for seeing if it works or not, and sadly it doesn't.\r\n\r\nThis is the code:\r\n\r\n```jsx\r\nvar React = require('react');\r\nvar Menu = require('material-ui/lib/menus/menu');\r\nvar MenuItem = require('material-ui/lib/menus/menu-item');\r\nvar ThemeManager =  require('material-ui/lib/styles').ThemeManager;\r\nvar themeManager = new ThemeManager();\r\n\r\nvar styles = {\r\n    menu: {\r\n    \tmarginRight: 32,\r\n\t    marginBottom: 32,\r\n\t    float: 'left',\r\n\t    position: 'relative',\r\n\t    zIndex: 0\r\n    }\r\n};\r\n\r\nvar App = React.createClass({\r\n\tcontextTypes: {\r\n\t\trouter:React.PropTypes.func\r\n\t},\r\n\tchildContextTypes: {\r\n\t\tmuiTheme:React.PropTypes.object\r\n\t},\r\n\tgetChildContext:function() {\r\n\t    return {\r\n\t            muiTheme: themeManager.getCurrentTheme()\r\n\t    };\r\n\t},\r\n\trender: function(){\r\n\treturn (\r\n\t\t<Menu style={styles.menu}>\r\n\t      <MenuItem primaryText=\"Maps\" />\r\n\t      <MenuItem primaryText=\"Books\" />\r\n\t      <MenuItem primaryText=\"Flights\" />\r\n\t      <MenuItem primaryText=\"Apps\" />\r\n\t    </Menu>);\r\n\t}\r\n\r\n});\r\n\r\nReact.render(<App/>, document.getElementById('app'));\r\n```\r\n\r\nAs you can see it is the same example code in the website demo, but the menu is not visible. What's the problem? Are the new Menu and MenuItem components already finished and ready for production? Thanks in advance."},"comment":{"url":"https://api.github.com/repos/callemall/material-ui/issues/comments/123631237","html_url":"https://github.com/callemall/material-ui/issues/1236#issuecomment-123631237","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/1236","id":123631237,"user":{"login":"inoc603","id":11290006,"avatar_url":"https://avatars.githubusercontent.com/u/11290006?v=3","gravatar_id":"","url":"https://api.github.com/users/inoc603","html_url":"https://github.com/inoc603","followers_url":"https://api.github.com/users/inoc603/followers","following_url":"https://api.github.com/users/inoc603/following{/other_user}","gists_url":"https://api.github.com/users/inoc603/gists{/gist_id}","starred_url":"https://api.github.com/users/inoc603/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inoc603/subscriptions","organizations_url":"https://api.github.com/users/inoc603/orgs","repos_url":"https://api.github.com/users/inoc603/repos","events_url":"https://api.github.com/users/inoc603/events{/privacy}","received_events_url":"https://api.github.com/users/inoc603/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T09:10:09Z","updated_at":"2015-07-22T09:10:09Z","body":"I'm getting the same problem here. The component is rendered but not visible"}}