p-tabPanel does not detect changes when "headerStyle", "headerStyleClass" binding is changed #13746
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Demo on Stackblitz
https://stackblitz.com/edit/primeng-tabview-style-bug
Current behavior
When I change the [headerStyleClass] binding of a p-tabPanel component, the change is only detected when I click on any other tab than the currently selected.
Expected behavior
When I change the [headerStyleClass] binding of a p-tabPanel component, I expect the component to change to state immediately.
Also seen here:
#9475 (comment)
Environment
OS: Windows 11
Angular version
14.1.3
PrimeNG version
14.0.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.16.0
Browser(s)
Chrome 117
The text was updated successfully, but these errors were encountered: