primefaces / primefaces/primeng

Table: Scroller is broken when scrollHeight is flex and virtualScroll is true

Open
#17,529 5 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Resolution: Help Wanted Type: Bug
Dominant language
TypeScript
Stars
12.5k
Forks
5.1k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

This issue seems to be old and fixed in previous versions.

It seems that this commit is missing:
https://github.com/primefaces/primeng/pull/16273/files#diff-c6cd7998571020577d558a44a0cc68561866f97f2b68ed9a97926e4e102084ef

Pull Request Link

No response

Reason for not contributing a PR
  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other
Other Reason

No response

Reproducer

https://stackblitz.com/edit/github-c5wrftlo?file=src%2Fapp%2Fapp.component.html

Environment

Latest Angular

Angular version

v19.1.2

PrimeNG version

v19

Node version

v20.11.1

Browser(s)

Chrome

Steps to reproduce the behavior

Use ptable with scrollHeight set to flex and virtualScroll to true

Expected behavior

table doesnt appear

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked StackBlitz reproducer and the ptable configuration using scrollHeight="flex" with virtualScroll enabled. Compare the current implementation with the changes referenced in pull request 16273, then verify that the table appears under Angular 19.1.2 and PrimeNG 19 in Chrome.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.