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 autoClose not dynamic #4680

Open
tjw02 opened this issue Mar 4, 2024 · 1 comment
Open

Popover autoClose not dynamic #4680

tjw02 opened this issue Mar 4, 2024 · 1 comment

Comments

@tjw02
Copy link

tjw02 commented Mar 4, 2024

Please remember, the issues forum is NOT for support requests. It is for bugs and feature requests only.
Please read https://github.com/ng-bootstrap/ng-bootstrap/blob/master/CONTRIBUTING.md and search
existing issues (both open and closed) prior to opening any new issue and ensure you follow the instructions therein.

Bug description:

Hi,

We have a need for the popover to have a dynamically working autoClose property. Currently looking at the ngbootstrap, the autoClose value is being used only during the opening of the popover. However, we have the use case where some action means that the popover can temporarily not be closed for the popover that is currently being displayed. An example use case is if some action inside the popover triggers a server call, and we want to keep the popover open with a small spinner in the corner until the server response is returned.

Cheers,
Tom.

Link to minimally-working StackBlitz that reproduces the issue:

You can fork a StackBlitz from one of our demos and use it as a starting point.

Please note that we can not act on bug reports without a minimal reproduction scenario in a StackBlitz. Here is why:
https://github.com/ng-bootstrap/ng-bootstrap#you-think-youve-found-a-bug

Versions of Angular, ng-bootstrap and Bootstrap:

Angular:
17.2
ng-bootstrap:
16.0
Bootstrap:
5.3

@janwidmer-work
Copy link

See comment here #4683

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

No branches or pull requests

2 participants