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

Component: Table - Frozen Columns #16624

Open
igor-h opened this issue Oct 23, 2024 · 1 comment
Open

Component: Table - Frozen Columns #16624

igor-h opened this issue Oct 23, 2024 · 1 comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@igor-h
Copy link

igor-h commented Oct 23, 2024

Describe the bug

The bug happens when you resize the browser window from full screen to half screen, or otherway arround.

Here we can see an example, of resizing a page with Table with frozen columns, from window mode to full screen:
image

It takes 20-30 seconds the application to unblock when we have Frozen Columns feature enabled with 10 Frozen Columns of 20 total columns on the table.

We also tested to disable the Frozen Columns and everything works well with no "lag".

Here I created a fork from official documentation in primeNG and resized the window and happens the same:

image

When you resize to bigger size, you will see a white space in the right side, until the application is re-rendering the table again.
(it takes 3-5 seconds)

Environment

Happens in local and on prod environment.
But is not environment related, is related with Table Frozen Columns

Reproducer

https://stackblitz.com/edit/y6hm4b-rijdqs?file=src%2Fapp%2Ftable-frozen-columns-demo.ts

Angular version

17.3.12

PrimeNG version

17.18.9

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

node:20-alpine

Browser(s)

Edge, Chrome

Steps to reproduce the behavior

  1. Create a PrimeNG Table
  2. Add Frozen Columns
  3. Define at least 10-20 columns
  4. Make 10 columns as frozen
  5. Resize the Browser window.
  6. The web app freezes and you cannot do anything for 10-20 seconds only happens with frozen columns

Expected behavior

The web app freezes and you cannot do anything for 10-20 seconds only happens with frozen columns

The Expected behavior should be, that the application does not freeze and you can resize the window without experiencing this issues.

@igor-h igor-h added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 23, 2024
@igor-h
Copy link
Author

igor-h commented Oct 23, 2024

Happens also in version:

   "primeng": "17.18.11",
   "@angular/core": "^18.0.1",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant