Skip to content

Table: breaks after one call to updateStyleElement() #16211

@ymg2006

Description

@ymg2006

Describe the bug

@cetincakiroglu @mehmetcetin01140
Commit #16154 completely breaks table after resizeTableCells or onColumnDrop.

@aaronshim maybe reading innerhtml-vs-innertext-vs-textcontent helps to figure out why the whole table is broken after 17.18.7 to 17.18.8 commit.

Environment

Windows 11

Reproducer

No response

Angular version

17.3.6

PrimeNG version

17.18.8

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.12.1

Browser(s)

All

Steps to reproduce the behavior

Do anything in the table that makes a call to resizeTableCellsm then the whole css and ids and etc are broken.

Expected behavior

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    LTS-PORTABLEIssue's fix will be ported to supported LTS versionsType: BugIssue contains a bug related to a specific component. Something about the component is not working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions