-
Notifications
You must be signed in to change notification settings - Fork 60
clickOutside event is still registered from within ngIf #13
Comments
|
I just had the same problem here. I also tried to put the (clickOutside) event inside a but same result, the event is always triggered right after. |
Can you try using the |
Will try next week, I fixed it for now by adding an ID to the trigger and exclude that. Bit hacky, but it works |
I just tried using [delayClickOutsideInit] and now, the clickOutside event is no longer triggered. |
The workaround suggested by @rpeelenconclusion works for me as well. |
Whoops, made a dumb mistake. @alexandremoore Can you try it with v2.4.1? |
@arkon, it works with v2.4.1, thanks! |
I'm having an issue with this, applying the [delayClickOutsideInit] property hasn't solved the issue.
Clicking just outside of the conditional element works but anything inside of it incorrectly triggers the clickOutside event. |
Looks like this issue is still not resolved. I still have same problem with conditional element andclick event. |
I found this solution and it works for me
|
See code below. As soon as the click event is triggered on the video, the clickOutside event is triggered right after, closing it again. Not sure if it's a bug with angular or with this.
The text was updated successfully, but these errors were encountered: