Item overlaps until window resize
See original GitHub issueI load 10 images with ngFor and I get a single image overlapping, which gets correctly positioned after I resize the window. This type of thing used to get fixed with [useImagesLoaded]="true"
, but this property not supported anymore.
Any ideas how to handle this?
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Flexbox elements overlap on window resize
I am using Flexbox for this, and everything looks great as long as the browser is in full screen, and the sections have...
Read more >Masonry Grid Overlaps, works fine after resizing browser ...
In this case, the overlap happens on simple text-based posts. Strangely, after resizing the browser window, there are no issues.
Read more >How to prevent button overlap when resizing window?
I have 4 buttons in a single row on the website page linked. However, when I resize the window, some of the buttons...
Read more >web-design - On window resize, DIV overlap on other div.
Don't use position: absolute to layout your grid or items. The reason they overlap is because absolute postioned elemets are taken out of ......
Read more >Item info overlaps item image when screen size gets smaller
I am trying to: have the product info and image not overlap when the screen responsive size gets smaller or more toward a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@wynfred you are the best, I would have never noticed it. I tested it and you are correct, everything falls into place now that I removed
fitWidth: true
.My issue is resolved, hope this also helps @pimmesz.
Thanks again!
Hi @konstantinosftw , the stackblitz project was really helpful!
The issue is you need to remove fitWidth because it doesn’t work with element sizing. https://masonry.desandro.com/options.html#fitwidth