finos / finos/regular-table

Table size calculation breaks when you let words wrap in a td

Open
#96 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
403
Forks
43
Avg merge
3m
Merged PRs (30d)
1

Description

If you let a `td` be taller than `regular-table` expects, the scroll position miscalculates.
```javascript
table.addStyleListener(() => {
for (const td of table.querySelectorAll("td")) {
td.style["white-space"] = "normal";
td.style["word-wrap"] = "break-word";
}
});
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.