Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/primitives/Lazy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function createLazy<T>(
const updateOffset = (_event: KeyboardEvent, container: lng.ElementNode) => {
const maxOffset = props.each ? props.each.length : 0;
const selected = container.selected || 0;
const rendered = offset(); // == container.children.length
const rendered = container.children?.length || 0;

// Already mounted everything, or still far enough from the rendered edge
// that the buffer covers the next selection — no work to do.
Expand Down
Loading