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

Fix modal-backdrop animation addClass to be in link function #43

Merged
merged 1 commit into from
Nov 16, 2018

Conversation

phazei
Copy link

@phazei phazei commented Nov 16, 2018

When a modal fades in, the backdrop doesn't fade, it just pops in with no animation. This is because the animation class is added in the compile function rather than the link function. The modal-window does fade it, so updated the modal-backdrop directive to apply the animation the same way.
The problematic issue can be viewed on any modal on the demo page.

@Morgul Morgul merged commit 6245a62 into Morgul:master Nov 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants