-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can't destroy on ngAfterViewInit #58
Comments
I will find some time to work on a pull request for this soon, and I'll update you once it's published. |
@joejordanbrown @pacocom @component({ constructor() { } ngOnInit() { } |
Still added a pull request, probably someone will need to call destroy when is it is not active |
Thanks for the pull request. I will review it once I've pushed all our latest changes that include a lot of bug fixes. |
Is this issue still presented? |
Bug, feature request, or proposal:
I want a conditional destroy popover on ngAfterViewInit or better if it possible open popoverDiscount only with programmable code WITHOUT using mdePopoverTriggerFor.
What is the expected behaviour?
I want to destroy popoverDiscount on ngAfterViewInit or Toggle popoverDiscount without directive mdePopoverTriggerFor, that is, only with programmable code.
What is the current behaviour?
In the code above if condition is false don't destroy popoverDiscount, that is, if I click on button #popoverDiscountTrigger, the popover appears:
What are the steps to reproduce?
Provide a working example using StackBlitz (or similar) to reproduce the problem.
https://stackblitz.com/edit/mde-popover-rlehwh
What is the use-case or motivation for changing an existing behaviour?
Because I want total control to open, close or destroy popover using programmable code.
Which versions of Angular, Material-Extended, OS, TypeScript, browsers are affected?
Angular 8
Other Comments
Very Thank!
The text was updated successfully, but these errors were encountered: