-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Bug] - Nested popover - autoclose="outside" not working #4694
Comments
The issue is that the second popup is outside of the first popup, so click inside the second popup triggers |
Yes, it would be great if the framework provides an inbuilt way to achieve this. Alternatively, we can handle this ourselves in a hacky way if the following is addressed - #4680 |
Bug description:
If there are nested popovers and if you click on a nested popover it closes all popovers.
[autoClose]="'outside'"
and[container]="'body'"
Note: It works fine if the nested popover is not appended to the body.
Link to minimally-working StackBlitz that reproduces the issue: Link
Versions of Angular, ng-bootstrap and Bootstrap:
Angular: 17.x
ng-bootstrap: 16.x
Bootstrap: 5.x
The text was updated successfully, but these errors were encountered: