Skip to content

fix: #19276 - Block UI doesn't work with Card with ngtemplate #header#19283

Merged
cetincakiroglu merged 1 commit into
masterfrom
issue-19276
Jan 28, 2026
Merged

fix: #19276 - Block UI doesn't work with Card with ngtemplate #header#19283
cetincakiroglu merged 1 commit into
masterfrom
issue-19276

Conversation

@mehmetcetin01140

Copy link
Copy Markdown
Contributor

fixes #19276

@github-actions

Copy link
Copy Markdown

Thank you for your contribution! We will review your PR shortly. Please make sure to manually link it to an issue for proper tracking.

@github-actions

Copy link
Copy Markdown

AI Code Review

Looks Good

Summary

Fixes BlockUI masking issue with Card component by changing getBlockableElement() to return the host element instead of the first child element

Issue Alignment

Excellent. The PR directly addresses the issue where BlockUI only covered the header when Card used ng-template #header. The root cause was that getBlockableElement() returned the first child (which could be just the header), and the fix correctly changes it to return the host element (the entire card).


This is an automated review. A maintainer will provide final approval.

@vercel

vercel Bot commented Jan 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
primeng Error Error Jan 15, 2026 10:11am
primeng-5lp7 Ready Ready Preview, Comment Jan 15, 2026 10:11am

@cetincakiroglu cetincakiroglu merged commit 8ad48c4 into master Jan 28, 2026
5 of 6 checks passed
@cetincakiroglu cetincakiroglu deleted the issue-19276 branch January 28, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Block UI doesn't work with Card with ngtemplate #header

2 participants