Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Empty (or short?) table headers causes crash #38

Closed
tingham opened this issue Dec 28, 2023 · 0 comments
Closed

bug: Empty (or short?) table headers causes crash #38

tingham opened this issue Dec 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@tingham
Copy link
Contributor

tingham commented Dec 28, 2023

When specifying a table with:

{
 ...
 "headers": [],
  "data": []
}

We get crashing issues when calculating the frame dimensions in the draw method.

Expected behavior What you expected to happen instead.

Probably good if it didn't / doesn't crash.

Reproduction Code to reproduce the behavior (optional).

I'll provide a PR when I have something that seems right that resolves the issue.

@tingham tingham added the bug Something isn't working label Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant