Skip to content

[01484] Dashboard table still not showing data rows#2913

Merged
nielsbosma merged 1 commit intomainfrom
plan-01484-Ivy-Framework
Apr 2, 2026
Merged

[01484] Dashboard table still not showing data rows#2913
nielsbosma merged 1 commit intomainfrom
plan-01484-Ivy-Framework

Conversation

@nielsbosma
Copy link
Copy Markdown
Contributor

Summary

Fixed the Dashboard DataTable showing only column headers with no data rows. The root cause was that .Height(Size.Full()) relied on flex height resolution, but the DataTable's container had zero height at mount time because it was inside a nested vertical layout with a sibling chart. Also improved the Framework's useContainerSize hook to retry initial measurement across animation frames instead of failing silently when the container has zero height at mount.

Files Modified

  • Ivy-Framework
    • src/frontend/src/widgets/dataTables/hooks/useContainerSize.ts — Replaced synchronous initial measurement with a retry loop (up to 5 animation frames) for containers that start with zero dimensions

Commits

  • 2cff24e [01484] Retry initial container measurement for nested flex layouts

Replace synchronous getBoundingClientRect with a retry loop (up to 5 frames)
so DataTables inside nested flex layouts get measured after the layout resolves
instead of reading height=0 at mount time.
@nielsbosma nielsbosma merged commit 4ece9ff into main Apr 2, 2026
10 of 11 checks passed
@nielsbosma nielsbosma deleted the plan-01484-Ivy-Framework branch April 2, 2026 09:56
@artem-ivy-ai
Copy link
Copy Markdown
Collaborator

Deploy timed out

I'm preparing your docs & samples for this PR. I'll update the comment as Sliplane reports progress.

Logs

No terminal state received from Sliplane after 30 minutes.

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.

2 participants