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

Table: Virtual Scroll with Subheader #17586

Open
3 of 4 tasks
garysb opened this issue Feb 6, 2025 · 0 comments
Open
3 of 4 tasks

Table: Virtual Scroll with Subheader #17586

garysb opened this issue Feb 6, 2025 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@garysb
Copy link

garysb commented Feb 6, 2025

Describe the bug

I am using virtual scroll lazy with the given sub-header template.
sub-header
virtual scroll lazy

My subheaders disappear when I add lazy loading logic to the table.

	"dependencies": {
		"@angular/animations": "19.1",
		"@angular/common": "19.1",
		"@angular/compiler": "19.1",
		"@angular/core": "19.1",
		"@angular/forms": "19.1",
		"@angular/platform-browser": "19.1",
		"@angular/platform-browser-dynamic": "19.1",
		"@angular/router": "19.1",
		"@primeng/themes": "19.0",
		"primeicons": "7.0",
		"primeng": "19.0",
		"tailwindcss-primeui": "0.4",
	},

This issue has been mentioned multiple times before eg. #15104 opened last month by @mirinio which I am guessing was closed due to not relating to the latest version?

Additional notes: your stackblitz template is broken. (An unhandled exception occurred: Cannot find package 'vite' imported from...)

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/github/primefaces/primeng-issue-template?file=src%2Fapp%2Fapp.component.html

Environment

Standard environment that has does not influence the outcome of the issue.

Angular version

19.1.4

PrimeNG version

v19

Node version

Bun 1.1.43

Browser(s)

All browsers

Steps to reproduce the behavior

  1. view table
  2. notice missing subheaders.

Expected behavior

Subheaders to be displayed when virtual scrolling is enabled.

@garysb garysb added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 6, 2025
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