Skip to content

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

@timkpaine

Description

@timkpaine

If you let a td be taller than regular-table expects, the scroll position miscalculates.

table.addStyleListener(() => {
  for (const td of table.querySelectorAll("td")) {
    td.style["white-space"] = "normal";
    td.style["word-wrap"] = "break-word";
  }
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConcrete, reproducible bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions