Skip to content

Popover Before Hide #5151

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

Open
1-0-1 opened this issue Apr 5, 2019 · 0 comments
Open

Popover Before Hide #5151

1-0-1 opened this issue Apr 5, 2019 · 0 comments

Comments

@1-0-1
Copy link

1-0-1 commented Apr 5, 2019

Feature request:

I have a need to programmatically prevent a popover from being closed such as an onBeforeHide method.

For example I need the user to enter a value on the popover and then click a button to confirm. I would like to intercept the hide of the popover if a value is required or they haven't clicked the button to prevent the popover from closing.

If no interaction with the popover is required or editing conditions are met, then the popover should close according to its triggers.

Versions of ngx-bootstrap, Angular, and Bootstrap:

ngx-bootstrap: 3.2.0

Angular: 7.2.12

Bootstrap: 4.3.1

Build system: Angular CLI

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

No branches or pull requests

3 participants