-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IconButton - Problem with rendering <Link> as containerElement #908
Comments
@hai-cea - Any suggestions? |
@mairh Could be some extra styles on that className? I tried this on the docs site and it worked fine:
This is using SvgIcons which you might consider using since we have all the icons in the project now. Here's the one you need: https://github.com/callemall/material-ui/blob/master/src/svg-icons/action/face.jsx |
It could be the style problem from google material icons hosted stylesheet. I guess I will end up using SvgIcons for |
Closing the issue since it has been fixed in last release. |
Thanks @mairh |
We have recently fixed the way to render react router
<Link>
element inside a button component. Issue - #850However, I am having trouble wrapping
containerElement
insideIconButton
component. I am not exctly sure where am I going wrong and there seems to be some style issues : I am not able to render the link if I click on the icon. However, it does work if I click outside the icon boundary.Here is the screencast link:
http://screencast-o-matic.com/watch/co13IKfYZk
The way I am implementing containerElement is as follows:
The text was updated successfully, but these errors were encountered: