-
Notifications
You must be signed in to change notification settings - Fork 5k
Block UI doesn't work with Card with ngtemplate #header #19276
Copy link
Copy link
Closed
Labels
LTS-PORTABLEIssue's fix will be ported to supported LTS versionsIssue's fix will be ported to supported LTS versionsResolution: Needs More InformationMore information about the issue is needed to find a correct solutionMore information about the issue is needed to find a correct solutionType: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working
Milestone
Metadata
Metadata
Assignees
Labels
LTS-PORTABLEIssue's fix will be ported to supported LTS versionsIssue's fix will be ported to supported LTS versionsResolution: Needs More InformationMore information about the issue is needed to find a correct solutionMore information about the issue is needed to find a correct solutionType: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Done
Describe the bug
If you have a block-ui targeting a p-card that has an ng-template header, the mask of the block ui will only cover the header when active, rather than the entire card.
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/github-mcrhc27f?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.component.ts,package.json
Environment
This was found in Angular 21.0.5 running primeng 21.0.2 and replicated in primeng 20.3.0.
Angular version
20/21
PrimeNG version
v21
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
#temp<ng-template #header> header </ng-template>[target]equal totemp.blockedproperty totrue.Expected behavior
The block ui's mask should appear over the entire component. This is what happens when you replace card with panel, or get rid of the ng-template header.