Skip to content

[bugfix] Lazy components empty content handling#26

Open
girouxc wants to merge 1 commit into
solid-tv:mainfrom
girouxc:bugfix/lazy-navigation-when-displaying-empty-content
Open

[bugfix] Lazy components empty content handling#26
girouxc wants to merge 1 commit into
solid-tv:mainfrom
girouxc:bugfix/lazy-navigation-when-displaying-empty-content

Conversation

@girouxc

@girouxc girouxc commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

This small change makes it easier to manage the case where there are empty items in the LazyColumn or LazyRow.

When a child is removed from the rendering tree, it messes up with the indexing, resulting in cases where navigating down will not load new children.

This MR fixes it by making the decision to increase the offset consider the actual number of children rendered.

Thanks !

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

Successfully merging this pull request may close these issues.

1 participant