Password Component onAnimationStart invalid State case #10099
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
https://stackblitz.com/edit/github-yh7zcr?file=src/app/app.component.html
Current behavior
The Switch case use two state to handle overlay show und hide.
The state 'hidden' does not exist. The overlay will be removed with a ngIf, and so the state will be 'void'.
primeng/src/app/components/password/password.ts
Line 402 in 2b339a1
When using appendTo=body this leads to a crash log
Expected behavior
No crash on ngDestroy using appendTo=body
Angular version: 11.2.7
PrimeNG version: 11.3.2
Browser: [all]
Language: [TypeScript 4.2]
The text was updated successfully, but these errors were encountered: