Skip to content
New issue

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

Chrome limits the grid to 1000 rows? #28

Open
bludev opened this issue Nov 10, 2017 · 18 comments
Open

Chrome limits the grid to 1000 rows? #28

bludev opened this issue Nov 10, 2017 · 18 comments

Comments

@bludev
Copy link

bludev commented Nov 10, 2017

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.

@Jiang-Xuan
Copy link

@mrwweb
Copy link

mrwweb commented Feb 23, 2018

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

@oscarotero
Copy link

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

image

@mrwweb
Copy link

mrwweb commented Feb 23, 2018

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

Obvious math solely for clarity: 2000 ÷ 2 = 1000

@oscarotero
Copy link

Ah, got it! 😄

@kizu
Copy link

kizu commented Feb 24, 2018

BTW, there was a decision made at the latest CSSWG meeting to put a recommendation with a minimum of 10k tracks into a spec: w3c/csswg-drafts#2261 (comment)

@mrwweb
Copy link

mrwweb commented Feb 27, 2018

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

@mesqueeb
Copy link

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

@ThaDaVos
Copy link

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

@mesqueeb
Copy link

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

@ThaDaVos
Copy link

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

@klimashkin
Copy link

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/

@stonecrafter
Copy link

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

@textyre
Copy link

textyre commented Sep 29, 2021

Same theme

@bludev
Copy link
Author

bludev commented Sep 30, 2021

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)

@mesqueeb
Copy link

mesqueeb commented Oct 1, 2021

@bludev what's the gridNG flag?

@mikkorantalainen
Copy link

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.

@bludev
Copy link
Author

bludev commented Oct 7, 2021

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests