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

Listen events for multiple Modals using BSModalService #4490

Open
sebastiandg7 opened this issue Jul 10, 2018 · 2 comments
Open

Listen events for multiple Modals using BSModalService #4490

sebastiandg7 opened this issue Jul 10, 2018 · 2 comments

Comments

@sebastiandg7
Copy link

Bug description or feature request:

Unable to separately listen for modal events when using BSModalService for more than one modal and component modals.

There is no way to differentiate if the hidden event was triggered by one or other modal.

Plunker/StackBlitz that reproduces the issue:

https://stackblitz.com/edit/angular-lhf2sv?embed=1&file=src/app/app.component.ts

Versions of ngx-bootstrap, Angular, and Bootstrap:

ngx-bootstrap: 3.0.1

Angular: 6.0.3

Bootstrap: 4.1.1

Build system: Angular CLI, System.js, webpack, starter seed:

Angular CLI

@wcomartin
Copy link

Is this being worked on? is there a workaround?

@sebastiandg7
Copy link
Author

@wcomartin I haven't really looked for a workaround on this, I guess you should not use component modals... @Domainv Is this currently being developed?

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