jelgblad / angular2-masonry

https://github.com/desandro/masonry module for Angular2
101 stars 48 forks source link

Overriding next element if element size change at run time #23

Closed AbhayVel closed 8 years ago

AbhayVel commented 8 years ago

Overriding next brick/ element if previous brick/element size change at run time. As Masnory setting top position of every brick/element, If previous element is getting resize its not ad-gusting next brick positions. Is there any alternative to do this, or I am missing any setting,

jelgblad commented 8 years ago

Hi! We are not watching for changes in blocks. You have to call layout on grid manually when you change the size of a brick. Se this comment: https://github.com/jelgblad/angular2-masonry/issues/10#issuecomment-243238801