mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-06 02:00:46 +00:00
no animation for masonry grid
This commit is contained in:
1 parent
2fd615b31e
commit
fed78e247c
1 file changed
+1
@@ -27,6 +27,7 @@ export default function MasonryGrid({
|
||||
masonryInstance = new Masonry(gridRef.current, {
|
||||
itemSelector: ".grid-item",
|
||||
percentPosition: true,
|
||||
transitionDuration: 0,
|
||||
});
|
||||
|
||||
//Needs this or images will overflow masonry card. It checks if image is loaded then after it is loaded, it resizes the card.
|
||||
|
||||
Reference in new issue
Block a user