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.
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.