CSS Grid Layout in Chrome seems not to work properly with more than 1000 rows

前端 未结 2 1437
终归单人心
终归单人心 2020-12-31 10:45

I have created an example of a sliding grid with fixed headers, using the \"CSS Grid Layout\" and \"sticky position\" technologies. For convenience, the content of the grid

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-31 11:23

    Ok, the 1000 rows (and also 1000 columns) limit has been intentionally introduced into the Chrome engine for reasons of stability and RAM consumption. A new version of the Grid functionality seems to be in progress and should solve the problem.

    Sources:

    • https://bugs.chromium.org/p/chromium/issues/detail?id=688640
    • https://github.com/w3c/csswg-drafts/issues/1009

提交回复
热议问题