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

Drag and drop across multiple containers is not working with ng-if #115

Open
jithureddy opened this issue Jul 29, 2017 · 0 comments
Open

Comments

@jithureddy
Copy link

jithureddy commented Jul 29, 2017

I have repeated containers with below template as below,
<div flex layout="column" class="backlog-item-card-content" ng-if="!vm1.isFolderExpired"> <div layout="column" flex id={{child._id}}expandFocusBox class="focusBox" update-work-item iteration="child"> <div layout="column" flex layout-align="start center" style="min-height: 15px;"> <div id="{{child._id}}containerFolder" data-container-id="{{child._id}}" dragula='"first-bag"' class="containerBox"> <div class="dragged-work-item-element work-item-space-top" layout="column" ng-repeat="item in child.work_items | limitTo : vm1.maxLimitOfItems" ng-repeat-end-custom="vm1.loadRemainingItems()" id={{item._id}}child data-item-type="parent" ng-show="item.isFilter" work-item-filter item="item"> <div drop-files item="item" layout="column" ng-include="'app/components/work/iteration-work-area/item-config/item-create.tmpl.html'"></div> </div> </div> </div> </div> </div>

If I remove ng-if condition in the first line the drag and drop across different containers is working. I want to have that ng-if for one functionality, but drag and drop is only working for that container not across containers.
Please help me here...
I found a reference here http://jsfiddle.net/gn3sff8v/9/ to add bags dynamically as and when ng-if is true.. but how to do that in angular version

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

No branches or pull requests

1 participant