{"action":"created","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/5052","repository_url":"https://api.github.com/repos/callemall/material-ui","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/5052/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/5052/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/5052/events","html_url":"https://github.com/callemall/material-ui/issues/5052","id":172695745,"number":5052,"title":"[style] Badge's display is invalid when userAgent is 'all'","user":{"login":"pongsakornsemsuwan","id":2715795,"avatar_url":"https://avatars.githubusercontent.com/u/2715795?v=3","gravatar_id":"","url":"https://api.github.com/users/pongsakornsemsuwan","html_url":"https://github.com/pongsakornsemsuwan","followers_url":"https://api.github.com/users/pongsakornsemsuwan/followers","following_url":"https://api.github.com/users/pongsakornsemsuwan/following{/other_user}","gists_url":"https://api.github.com/users/pongsakornsemsuwan/gists{/gist_id}","starred_url":"https://api.github.com/users/pongsakornsemsuwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pongsakornsemsuwan/subscriptions","organizations_url":"https://api.github.com/users/pongsakornsemsuwan/orgs","repos_url":"https://api.github.com/users/pongsakornsemsuwan/repos","events_url":"https://api.github.com/users/pongsakornsemsuwan/events{/privacy}","received_events_url":"https://api.github.com/users/pongsakornsemsuwan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/callemall/material-ui/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/callemall/material-ui/labels/External%20Dependency","name":"External Dependency","color":"a11d21"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/callemall/material-ui/milestones/14","html_url":"https://github.com/callemall/material-ui/milestones/next","labels_url":"https://api.github.com/repos/callemall/material-ui/milestones/14/labels","id":1582007,"number":14,"title":"next","description":"","creator":{"login":"alitaheri","id":8528759,"avatar_url":"https://avatars.githubusercontent.com/u/8528759?v=3","gravatar_id":"","url":"https://api.github.com/users/alitaheri","html_url":"https://github.com/alitaheri","followers_url":"https://api.github.com/users/alitaheri/followers","following_url":"https://api.github.com/users/alitaheri/following{/other_user}","gists_url":"https://api.github.com/users/alitaheri/gists{/gist_id}","starred_url":"https://api.github.com/users/alitaheri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alitaheri/subscriptions","organizations_url":"https://api.github.com/users/alitaheri/orgs","repos_url":"https://api.github.com/users/alitaheri/repos","events_url":"https://api.github.com/users/alitaheri/events{/privacy}","received_events_url":"https://api.github.com/users/alitaheri/received_events","type":"User","site_admin":false},"open_issues":37,"closed_issues":34,"state":"open","created_at":"2016-02-14T16:34:47Z","updated_at":"2016-08-28T00:38:27Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-08-23T13:14:41Z","updated_at":"2016-09-13T07:51:20Z","closed_at":null,"body":"### Problem description\r\nI'm trying out Badge component and run into an 'invalid property value' error for CSS for Badge's display property when userAgent is 'all'  \r\n\r\ncause : when userAgent is set to 'all', Material UI transforms `display:flex` into `display:-webkit-box,-moz-box,-ms-flexbox,-webkit-flex,flex`\r\n\r\n### Steps to reproduce\r\n(1) set userAgent property in muiTheme\r\n`userAgent: 'all'`\r\n(2) add a Badge compponent to your site\r\n\r\n```jsx\r\n    <Badge badgeContent={4} primary={true} style={{paddingTop:5}} badgeStyle={{top: 0, right: 15}}>\r\n        <IconButton tooltip=\"checkout\">\r\n            <FontIcon className=\"material-icons\" color={grey500}>shopping_cart</FontIcon>\r\n        </IconButton>\r\n    </Badge>\r\n```\r\n\r\n### Versions\r\n\r\n- Material-UI: 0.15.4\r\n- React: 15.3.1\r\n- Browser: Chrome Version 52.0.2743.116 m\r\n\r\n<!-- Have a QUESTION? Please ask in [StackOverflow or gitter](http://tr.im/77pVj before opening an issue.\r\n\r\nIf you are having an issue with click events, please re-read the [README](http://tr.im/410Fg) (you did read the README, right? :-) ).\r\n\r\nIf you think you have found a _new_ issue that hasn't already been reported or fixed in HEAD, please complete the template above.\r\n\r\nFor feature requests, please delete the template above and use this one instead:\r\n\r\n### Description\r\n### Images & references\r\n\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/callemall/material-ui/issues/comments/246603220","html_url":"https://github.com/callemall/material-ui/issues/5052#issuecomment-246603220","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/5052","id":246603220,"user":{"login":"rdewolff","id":130704,"avatar_url":"https://avatars.githubusercontent.com/u/130704?v=3","gravatar_id":"","url":"https://api.github.com/users/rdewolff","html_url":"https://github.com/rdewolff","followers_url":"https://api.github.com/users/rdewolff/followers","following_url":"https://api.github.com/users/rdewolff/following{/other_user}","gists_url":"https://api.github.com/users/rdewolff/gists{/gist_id}","starred_url":"https://api.github.com/users/rdewolff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdewolff/subscriptions","organizations_url":"https://api.github.com/users/rdewolff/orgs","repos_url":"https://api.github.com/users/rdewolff/repos","events_url":"https://api.github.com/users/rdewolff/events{/privacy}","received_events_url":"https://api.github.com/users/rdewolff/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T07:51:20Z","updated_at":"2016-09-13T07:51:20Z","body":"Having the same issue. Thanks for the tip @oliviertassinari - your ```prepareStyles``` hack works."}}
{"actor":{"display_login":"rdewolff"}}