McNull / angular-block-ui

AngularJS Block UI Module
MIT License
349 stars 108 forks source link

when the block ui dom element removed, the block ui will occures not expected result #110

Open gaojianzhuang opened 8 years ago

gaojianzhuang commented 8 years ago

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.

TOPS-Aman commented 6 years ago

any update on this?