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

Password Component onAnimationStart invalid State case #10099

Closed
denny99 opened this issue Apr 12, 2021 · 0 comments
Closed

Password Component onAnimationStart invalid State case #10099

denny99 opened this issue Apr 12, 2021 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@denny99
Copy link
Contributor

denny99 commented Apr 12, 2021

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

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'.

When using appendTo=body this leads to a crash log

image

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]

@yigitfindikli yigitfindikli added the Status: Pending Review Issue or pull request is being reviewed by Core Team label Apr 13, 2021
@yigitfindikli yigitfindikli self-assigned this Apr 13, 2021
@yigitfindikli yigitfindikli added this to the 11.4.0 milestone Apr 13, 2021
@yigitfindikli yigitfindikli added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Pending Review Issue or pull request is being reviewed by Core Team labels Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants