angular-block-ui
angular-block-ui copied to clipboard
when the block ui dom element removed, the block ui will occures not expected result
trafficstars
If we have many dom elements with the block ui directivce like below:
<ul>
<li block-ui="block_1">test1</li>
<li block-ui="block_2">test2</li>
<li block-ui="block_3">test3</li>
<li block-ui="block_4">test4</li>
</ul>
If we removed the "block_1" element, the block ui attribute will refresh automation by the angularjs. Then add a new li element. When the block UI blocking, will affect the "block_3" and "block_4"(new) element. Expected: we just want to affect the "block_4"(new) element.
I think the block ui instances need to updat or refresh when the dom changed and the "block-ui" attribute updated.
Thanks.
any update on this?