-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Conversation
I'm attempting to remove the dropdown menu from the body when the main dropdown element fires the In the tests, I do in fact see that the Any ideas why? |
+1!!! |
This needs a test to fix the garbage collection. |
@wesleycho do you mean it needs a fix to test the garbage collection? I had a test that looked like this:
What I was referring to in my comment was that I was unable to verify the outcome of |
@rysilva if you're able to do so, I'm willing to review this again and merge when ready. Perhaps |
@rysilva, @wesleycho : looking forward to this fix, thanks to both of you. |
@rysilva and @wesleycho, I believe I understand what is happening: the element is not being cleaned up after each test. In other words, I have issued a pull request to @rysilva that not only fixes all this, but also resolves the conflicts with the current master preventing automatic merge. @wesleycho, assuming @rysilva merges my PR to his branch, please review again. |
Thanks, I'll take a look |
I'm not sure why adding an afterEach would solve the issue, because you're already calling I was going to run locally again but I'm currently getting an error running grunt:
|
You may need to run Also the history needs to be cleaned up - the merge commit should not be there, and all of the commits should be squashed into one. |
2cbc9ef
to
55ba210
Compare
Squashed all the commits. |
Cannot wait for this feature to be merged! It fixes all my problems. |
Merged - thanks for the good work @rysilva and @andyperlitch ! |
all @rysilva... thanks @wesleycho! |
@andyperlitch , @rysilva , @wesleycho : thanks a lot!!!!!!!!!!!!!!!!!!!!! |
Fixes #1030
Look for dropdown-append-to-body attribute on the dropdown directive. If it's there, append the dropdown-menu to the body and show/hide/position it when the dropdown toggles.