Display bug whith css columns in Chrome
See original GitHub issueWhen the image is inside a CSS column layout, the zoomed image stay in the column layout, and the bottom wrap on the next col when the zoomed image is grabbed (which is both weird and awesome).
- OS: OSX
- Browser and version: Chrome 60
The grid
.grid {
column-count: 2;
column-gap: 1rem;
figure {
display: inline-block;
margin: 0 0 0 0;
width: 100%;
}
}
The bug
last image on the left col
last image on the right col
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Chrome columns bug when number of columns is less then ...
css - Chrome columns bug when number of columns is less then column-count - Stack Overflow. Stack Overflow for Teams – Start collaborating...
Read more >Strange column-count bug in Chrome (70.0.3538.110) : r/css
I was working on a multi-column layout by using CSS's multiple column layout and have run into an issue that seems to only...
Read more >Display issues with chrome 81
We have a problem after upgrading from chrome 70 to chrome 81. ... The CSS attribute column-count is responsible for this display defect....
Read more >269061 - CSS columns cropping shadows/overflow, acting ...
Steps to reproduce the problem: 1. Access a web page that uses CSS columns which contain elements that use the box-shadow attribute.
Read more >columns - CSS: Cascading Style Sheets - MDN Web Docs
The columns CSS shorthand property sets the number of columns to use when drawing an element's contents, as well as those columns' widths....
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
Hi, I’ve the same problem in Chrome and I fix this with:
I hope help 😃
Fixed in the latest version
1.2.7
thanks to @andreaballerino’s suggestion. Here’s the demo.