You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.
@veronesecoms ng-click-outside seems to cache the DOM nodes that are excluded by default. It seems like there may be more efficient ways of doing this exclude check but I'll ignore that for now.
To fix this, try setting:
<... [excludeBeforeClick]="true" ...>
This will be sure to recreate the exclude list after each click ensuring that created elements (such as your element by the ngIf) is registered.
I have one element (#informacao) that i don't need to fire the clickout event.
This is my code:
I also try:
<div [exclude]="'.fa'" (clickOutside)="teste()"
and:
<div [exclude]="'.fa,.fa-close,.fecharnotificacao,.ml-2'"
But the event is triggered when i click in my i element
The text was updated successfully, but these errors were encountered: