shershen08 / vue-masonry

💠 Vue.js directive for masonry blocks layouting ✅
MIT License
673 stars 81 forks source link

How to completely disable animations #131

Open shash7 opened 2 years ago

shash7 commented 2 years ago

Is there a way to completely disable animations? I have to call redraw multiple times because of store updates and all the elements moving around is giving bad user experience.

iancallahan commented 2 years ago

Try setting the transition duration to zero. E.g.:

<div id="masonryContainer" v-masonry transition-duration="0s" item-selector=".item" fit-width="true">