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

bug: Still No Backdrop Shades In Modals #3875

Closed
vladipus opened this issue Jun 2, 2015 · 1 comment
Closed

bug: Still No Backdrop Shades In Modals #3875

vladipus opened this issue Jun 2, 2015 · 1 comment

Comments

@vladipus
Copy link

vladipus commented Jun 2, 2015

Type: bug

Platform: desktop browser

My previous submission #3067 was closed due to inactiviy, but the bug is still there...

On small, non-tablet displays the dialog just occupies the whole space. However, I'm more interested in this to work correctly (with the backdrop): http://codepen.io/anandvj/pen/KwmMGY
If you minify the viewport during the image view, the backdrop is just gone.

@vladipus vladipus changed the title Still No Backdrop Shades In Modals bug: Still No Backdrop Shades In Modals Jun 2, 2015
@mhartington
Copy link
Contributor

You just need to target the backdrop with some css, which is whats being done on larger screens.

.active .modal-backdrop-bg {
  opacity: .5;
}

.modal-backdrop-bg {
  -webkit-transition: opacity 300ms ease-in-out;
  transition: opacity 300ms ease-in-out;
  background-color: #000;
  opacity: 0;
}

http://codepen.io/mhartington/pen/OVpNEa

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants