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

Fix #6520 - overlayPanel's and dialog's onHide #6534

Closed
wants to merge 4 commits into from

Conversation

Hunroll
Copy link
Contributor

@Hunroll Hunroll commented Sep 20, 2018

###Defect Fixes
Fix #6520 - overlayPanel's and dialog's onHide. Revert previous changes (PR #6471) and suspend calling onOverlayHide event in destructor if overlay is not visible.

###Feature Requests
N/A

Call this.onOverlayHide in destructor only if it is visible. Revert previous onHide emitting interrupter.
Call this.onOverlayHide in destructor only if it is visible. Revert previous onHide emitting interrupter.
Update overlayPanel's onHide.
@coffeetea-synchestra
Copy link

Please merge it, anybody ;(

@cagataycivici
Copy link
Member

We'll handle it differently, I don't think it makes sense to call onHide at ondestroy e.g. route change.

@igor04
Copy link

igor04 commented Oct 27, 2018

@cagataycivici are there any changes?

because it looks like onHide event is not triggered and there is no references to other issues/pr's

@rafa-suagu
Copy link

I think that makes sense to call onHide on destroy because sometimes you can have an ngIf in a component that have a dialog inside and if have some logic when de dialog disappears in this case this logic will not fired.

Please reconsidere this pull request @cagataycivici

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

Successfully merging this pull request may close these issues.

6 participants