gridbugs icon indicating copy to clipboard operation
gridbugs copied to clipboard

Chrome limits the grid to 1000 rows?

Open bludev opened this issue 8 years ago • 18 comments

It seems that if there are more than 1000 rows, Chrome only displays the first 999 rows, while the following ones are not rendered correctly.

See the demo here: https://codepen.io/bludev/pen/MOpyQR

In Firefox and Edge 16, the example works properly.

bludev avatar Nov 10 '17 10:11 bludev

Confirmed. Here's another codepen demo: https://codepen.io/mrwweb/pen/jZvNpr?editors=1100

mrwweb avatar Feb 23 '18 22:02 mrwweb

I have Chrome 63 and see the first 2000 rows but the rest seems overlapped:

image

oscarotero avatar Feb 23 '18 22:02 oscarotero

@oscarotero That's 1000 rows because it's 2000 items in TWO columns.

Obvious math solely for clarity: 2000 ÷ 2 = 1000

mrwweb avatar Feb 23 '18 23:02 mrwweb

Ah, got it! 😄

oscarotero avatar Feb 23 '18 23:02 oscarotero

BTW, there was a decision made at the latest CSSWG meeting to put a recommendation with a minimum of 10k tracks into a spec: https://github.com/w3c/csswg-drafts/issues/2261#issuecomment-367414140

kizu avatar Feb 24 '18 19:02 kizu

Not too surprising since it's a webkit browser, but this is also visible in Opera 50 and 51.

mrwweb avatar Feb 27 '18 00:02 mrwweb

I have the same bug in Google Chrome. How can I have a grid with more than 1000 rows? I need at least 1440. : )

mesqueeb avatar Mar 11 '18 10:03 mesqueeb

I've hit the same kind of bug with Mozilla Firefox - setting grid-template-columns/rows to repeat(auto-fill, 0.1px) limits it to 1887 columns and 883 rows - kinda a bummer

ThaDaVos avatar Jun 14 '18 09:06 ThaDaVos

Guess we can't use grid to recreate an excel sheet huh : D

mesqueeb avatar Jun 14 '18 09:06 mesqueeb

Sadly not - was working on a drag and drop grid - currently looking into WebGL - it may offer a solution

ThaDaVos avatar Jun 14 '18 09:06 ThaDaVos

Looks like it's fixed in Chrome 93+ with the rollout of the GridNG https://blogs.windows.com/msedgedev/2021/08/10/compat2021-css-grid-gridng/

klimashkin avatar Aug 17 '21 04:08 klimashkin

I just updated to v93.0.4577.63 and still seeing this problem...

stonecrafter avatar Sep 07 '21 09:09 stonecrafter

Same theme

textyre avatar Sep 29 '21 16:09 textyre

Currently, it seems that the "GridNG" flag is enabled by default only from Chrome and Edge 96 (Canary). For previous versions (93+) it is necessary to manually enable it from chrome://flags (or edge://flags)

bludev avatar Sep 30 '21 12:09 bludev

@bludev what's the gridNG flag?

mesqueeb avatar Oct 01 '21 00:10 mesqueeb

I think it's actually called LayoutNG but my Linux version of Chrome 94.x doesn't seem to have such a flag. The closest I have is chrome://flags/#enable-container-queries which refers to LayoutNG.

mikkorantalainen avatar Oct 07 '21 10:10 mikkorantalainen

Sorry, my mistake! The "gridNG" flag is found only in Edge Chromium. I can't find the same flag in Chrome, which is perhaps called LayoutNG (as @mikkorantalainen said).

bludev avatar Oct 07 '21 12:10 bludev