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

Unexpected emit for destroyed OutputRef. The owning directive/component is destroyed. #169

Closed
JustDoItSascha opened this issue Dec 4, 2024 · 8 comments

Comments

@JustDoItSascha
Copy link

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior

When you have a tooltip on a button and the click of the button will lead to a reroute of the page, then we get this error:

ERROR RuntimeError: NG0953: Unexpected emit for destroyed `OutputRef`. The owning directive/component is destroyed.
    at OutputEmitterRef.emit (core.mjs:6706:13)
    at getter.set (core.mjs:18681:18)
    at _TippyDirective.onHidden (ngneat-helipopper.mjs:592:20)
    at Object.onHidden (ngneat-helipopper.mjs:494:14)
    at invokeHook (tippy.esm.js:691:48)
    at Object.unmount (tippy.esm.js:1346:5)
    at Object.destroy (tippy.esm.js:1357:14)
    at ngneat-helipopper.mjs:329:22
    at processCleanups (core.mjs:11631:7)
    at cleanUpView (core.mjs:11568:5)

This happens in Angular 19 with the version 10.1.0-alpha.0.

Environment


Angular version: 19.0.1
Helipopper version: 10.1.0-alpha.0


Browser:
- [x] Chrome (desktop) version 
@NetanelBasal
Copy link
Member

@arturovt cc

@JustDoItSascha
Copy link
Author

P.S. It also happens in Helipopper version 9. So it has something to do with angular 19 i think.

@arturovt
Copy link
Collaborator

arturovt commented Dec 4, 2024

Can you provide a minimal reproducible example?

@arturovt
Copy link
Collaborator

arturovt commented Dec 5, 2024

Thank you. I'll have a look shortly.

@arturovt
Copy link
Collaborator

arturovt commented Dec 7, 2024

I've published 10.2.0-alpha.0.

@JustDoItSascha
Copy link
Author

Thank you! Just out of curious: Why is it not 10.1.0-alpha.1 ? :D

@arturovt
Copy link
Collaborator

arturovt commented Dec 7, 2024

Because there was an Angular upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants