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

Popover: Scoped stylings via [dt] don't get applied #17627

Open
1 of 4 tasks
gregorwinkler opened this issue Feb 10, 2025 · 0 comments
Open
1 of 4 tasks

Popover: Scoped stylings via [dt] don't get applied #17627

gregorwinkler opened this issue Feb 10, 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

@gregorwinkler
Copy link

Describe the bug

I'm trying to add a custom styling for a p-popover in one view, thus I wanted to use the [dt]-property to have a scoped styling.

But it doesn't seem to be applied, at least all the tokens are ignored, see the Stackblitz examples for details.

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/rg1u3tt3?file=src%2Fapp%2Fpopover-basic-demo.ts

Environment

PrimeNG 19, Angular 19

Angular version

19.0.7

PrimeNG version

v19

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

  1. Open Stackblitz example
  2. Change tokens in the dt variable
  3. Open popover
  4. See that styling is not applied

Expected behavior

All the theming tokens, which are defined in https://primeng.org/popover should be applicable via [dt] too.

@gregorwinkler gregorwinkler 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 10, 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