Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

modal behaviour changed #4672

Closed
mfchung opened this issue Oct 21, 2015 · 5 comments
Closed

modal behaviour changed #4672

mfchung opened this issue Oct 21, 2015 · 5 comments

Comments

@mfchung
Copy link

mfchung commented Oct 21, 2015

there is a change in the modal behaviour. It can be seen at the modal example on https://angular-ui.github.io/bootstrap/

basically when animation is turned off, it appears the screen behind the modal is very obviously deleted and redrawn as the modal is closed.

@Foxandxss
Copy link
Contributor

Hello,

I am not sure what you mean? Could you rephrase your issue or put some screenshot?

@mfchung
Copy link
Author

mfchung commented Oct 21, 2015

Hi,

I mean the Modal dialog window. if you look at the example on https://angular-ui.github.io/bootstrap/ page in the section Modal (ui.bootstrap.modal)

click on large modal button and then do it again with the animation button false.

You will see that when the modal window is closed, when the animation is false, the view underneath is set to black and then redrawn.

@Foxandxss
Copy link
Contributor

Ah, I see that. Will investigate.

@wesleycho
Copy link
Contributor

What is happening is that the modal backdrop has a background color of #000 - when the opacity is 1, it will appear to be solid black...should give a good base to investigate though.

@wesleycho
Copy link
Contributor

Ah, so the fade class is not applied when animations are disabled, so removing the in class will cause this effect to happen.

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

Successfully merging a pull request may close this issue.

3 participants