-
Notifications
You must be signed in to change notification settings - Fork 11
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
ModalFactory activate does not show dialog anymore #66
Comments
@cjh79 which exact version are you using? The |
@soumak77 I'm using 1.2.6. |
@cjh79 do you have a code snippet? I've been using |
@cjh79 modals in the 1.2.6 docs use I'll take a look at your code snippet to see if I can figure anything out. |
@soumak77 I see the issue with this html file. The modal-overlay element is appended to body, but does not get the is-active class and has display: none.
|
ModalFactory does not have a |
@soumak77 FWIW, template seems to work, nevertheless, I just did that to simplify the code -- I see the same issue when using templateUrl. |
@cjh79 could you possibly try wrapping Also, you said this example works with Foundation for Apps? |
Wrapping it in a $timeout did not help. Yes, it was working fine in Foundation for Apps. |
I found the problem. The templates were mistakenly updated to use the
Try replacing |
The root cause of this issue has been captured by #67 |
That fixed it. Excellent, thanks! |
I'm using angular-base-apps v. 1.2 which I downloaded via bower. (I just switched from Foundation for Apps). When I use ModalFactory to create a dialog, and then call its activate() method, the dialog does not appear.
The modal-overlay div element is being appended to the body properly, but it does not get the 'is-active' class, so it remains hidden.
I suspect the issue was introduced in this commit but am not certain as I have not been able to track down the bug:
09eff9f
Happy to help with a fix if possible, but someone who knows the code can probably do a better job of this.
The text was updated successfully, but these errors were encountered: