Skip to content
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

FAB z-index #872

Closed
touficbatache opened this issue Jun 28, 2017 · 2 comments
Closed

FAB z-index #872

touficbatache opened this issue Jun 28, 2017 · 2 comments

Comments

@touficbatache
Copy link
Contributor

Bugs

What MDC-Web Version are you using?

0.14.0

What browser(s) is this bug affecting?

Chrome for Android 58.0.3029.83

What OS are you using?

Android 7.0

What are the steps to reproduce the bug?

  1. Go to http://material-components-web.appspot.com/fab.html
  2. Scroll down a little till the FAB at the bottom right is under another showcased FAB
  3. Observe the component's behavior

What is the expected behavior?

The bottom right FAB should be over the other showcased FABs

What is the actual behavior?

The bottom right FAB is under the other showcased FABs

Any other information you believe would be useful?

I think that this could be fixed by changing its z-index

@amsheehan
Copy link
Contributor

Yep! Can confirm this is a bug. Would you want to submit a PR for this? A fix would be setting a higher z-index on #demo-absolute-fab in demos/fab.html

Thanks!

@touficbatache
Copy link
Contributor Author

touficbatache commented Jun 29, 2017

Sure. About how much should I change the z-index? I'll add a z-index: 1;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants