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

fix(modal): clean up animation when disabled #4740

Closed

Conversation

wesleycho
Copy link
Contributor

  • When the animation is set to false, do not remove the in class to prevent black opaque background from showing

Here is the Plunker in action - compare with the current behavior here when the animations are disabled in both and the modal is dismissed.

This fixes #4672.

- When the animation is set to false, do not remove the `in` class to prevent black opaque background from showing
@Foxandxss
Copy link
Contributor

Nice, that error was ugly.

@wesleycho
Copy link
Contributor Author

I take that as a vote of approval? :)

@Foxandxss
Copy link
Contributor

Yes, sir.

@wesleycho wesleycho closed this in 972dee6 Oct 26, 2015
@wesleycho wesleycho deleted the fix/modal-no-animation branch October 26, 2015 22:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

modal behaviour changed
2 participants