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

Popover event 'shown' is executed outside of angular zone if animation is disabled #3950

Closed
javix opened this issue Jan 15, 2021 · 1 comment · Fixed by #3957
Closed

Popover event 'shown' is executed outside of angular zone if animation is disabled #3950

javix opened this issue Jan 15, 2021 · 1 comment · Fixed by #3957

Comments

@javix
Copy link

javix commented Jan 15, 2021

Bug description:

Popover event 'shown' is executed outside of angular zone if animation is disabled and inside of angular zone if animation is enabled.
I think, all events should be executed INSIDE of angular zone independent of animation.

Link to minimally-working StackBlitz that reproduces the issue:

https://stackblitz.com/edit/angular-gthjjm?file=src%2Fapp%2Fpopover-triggers.ts
Open the console log.

Versions of Angular, ng-bootstrap and Bootstrap:

Angular:
11.0.9

ng-bootstrap:
8.0.2
9.0.0

@maxokorokov
Copy link
Member

Fixed in 8.0.3 and 9.0.1

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

Successfully merging a pull request may close this issue.

2 participants