How to remove vertical space between the blocks of different heights ? Here you find the answer. Plugin that helped to solve the problem https://github.com/tasuk/masonry-ordered
Add a 👍 reaction to this issue if you would like to see this feature added to Masonry and Isotope desandro/masonry#873
Feature is added https://masonry.desandro.com/options.html. Code in this repository is not actual now.