question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Display bug whith css columns in Chrome

See original GitHub issue

When 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%;
  }
}

image

The bug

last image on the left col

image

last image on the right col

image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
ghostcommented, Nov 29, 2017

Hi, I’ve the same problem in Chrome and I fix this with:

img {
  transform: translateZ(0);
}

I hope help 😃

1reaction
kingdido999commented, Jan 7, 2018

Fixed in the latest version 1.2.7 thanks to @andreaballerino’s suggestion. Here’s the demo.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found