Closed eosfor closed 1 week ago
try and add the stylesheet?
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@observablehq/inputs@0.12.0/dist/index.css">
To answer the "why", Inputs.table does not materialize all the rows in the DOM at the beginning… it would be too slow and would require too much memory. It only materializes them "lazily" as you scroll and interact and they come into view.
Thank you, that works. The question now is, how do i know which style sheets to include? and how this particular one works? Well, I guess to answer the last one, i need to do some reading :), can you point me where to start?
it's all documented here https://github.com/observablehq/inputs?tab=readme-ov-file
Heloo everyone!
I'm pretty new to JS in particular and to web dev in general, so, perhaps some silly questions. Why does the code below only show 23 of 26 rows, and does not scroll anywhere beyond that?