We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
When a stampped element's width is multiple of the columnWidth, the layout gets an extra gap.
This CodePen illustrate the problem: http://codepen.io/doug2k1/pen/xLaHD
Changing the lines 138 and 142 from:
lastCol = Math.min( this.cols - 1, lastCol ); and for ( var i = firstCol; i <= lastCol; i++ ) {
to:
lastCol = Math.min( this.cols, lastCol ); and for ( var i = firstCol; i < lastCol; i++ ) {
seems to solve the problem.
Thank you.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this and for providing a CodePen. This looks like a legit bug. I'll be investigating
Sorry, something went wrong.
I try to apply the fix in my case. But it's worse thatn before. It overlapp always now: http://www.metadelic.com/misc/masonry/index-stamp.html
Here without the fix: http://www.metadelic.com/misc/masonry/index-stamp-without-fix.html
Simply resize the window to see the overlapping.
I search in JS the line 138 and 142, but cant find it. I found the infos on line 2767 and 2771 in: http://www.metadelic.com/misc/masonry/js/vendor/masonry.pkgd.js
Thx in advance. Dom
23baa7c
This is fixed in v3.1.4. Thanks again for reporting this! 🐯
No branches or pull requests
Hello,
When a stampped element's width is multiple of the columnWidth, the layout gets an extra gap.
This CodePen illustrate the problem: http://codepen.io/doug2k1/pen/xLaHD
Changing the lines 138 and 142 from:
lastCol = Math.min( this.cols - 1, lastCol );
and
for ( var i = firstCol; i <= lastCol; i++ ) {
to:
lastCol = Math.min( this.cols, lastCol );
and
for ( var i = firstCol; i < lastCol; i++ ) {
seems to solve the problem.
Thank you.
The text was updated successfully, but these errors were encountered: