material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[IconButton] tooltip displays underneath FlatButton

Open 0x80 opened this issue 11 years ago • 5 comments

screenshot 2015-01-07 21 14 38

The + is the icon and the grey area its tooltip. "ADD COMPOSITION" is the FlatButton. "Add Composition" is just regular text.

0x80 avatar Jan 08 '15 11:01 0x80

Unfortunately the tooltip is absolutely positioned. This means we can't use z-index on the tooltip its self, you can apply a z-index on the parent button and that should fix it.

yhbrandon avatar Mar 30 '15 21:03 yhbrandon

does someone have an idea how to fix that?

I can't make the zIndex tricks works :(

cgestes avatar Jul 23 '15 20:07 cgestes

We also have the issues with IconButton in a CardActions

cgestes avatar Jul 23 '15 20:07 cgestes

@yhbrandon could you document your workaround here?

@cgestes could you post more details about the issue you mentioned?

Let's get this issue taken care of!

shaurya947 avatar Nov 11 '15 22:11 shaurya947

This was fixed with the introduction of zIndex to the theme,

alitaheri avatar Dec 17 '15 21:12 alitaheri