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

Issue with alert closing #2

Closed
danilomcb opened this issue Mar 3, 2017 · 4 comments
Closed

Issue with alert closing #2

danilomcb opened this issue Mar 3, 2017 · 4 comments

Comments

@danilomcb
Copy link

Hi... I'm having trouble using sweetAlert. When it is closed, swal2-container blocks the other components of the screen.

@toverux
Copy link
Member

toverux commented Mar 3, 2017

Hello,

ngsweetalert2 is just an integration for SweetAlert2, we do not perform any DOM operations in this library, that's only "wrapping logic".

There may be a bug in the upstream library. Please open an issue in their repository, mentioning the browser you are using, and providing a jsfiddle to reproduce the bug.

@toverux toverux closed this as completed Mar 3, 2017
@danilomcb
Copy link
Author

I understand. Strangely it works by using SweetAlert. What happens is that when using ngsweetalert, the swal2-container created is not removed when closing the alert.

I'm going to adapt Sweetalert to my project. Thank you.

@toverux
Copy link
Member

toverux commented Mar 3, 2017

Oh, then it changes everything. Maybe your setup was incomplete, but I can't really find an explanation for such a bug. NgSweetalert2 calls sweetalert2 directly and does not perform any other DOM operation.

If you could provide the minimal boilerplate for reproducing the bug, I would be happy to investigate further, and I'll reopen the issue.

@gamunu
Copy link

gamunu commented Apr 28, 2017

I'm also having this issue, maybe because I'm using flexbox heavily (bootstrap v4). I tried including limonte/sweetalert2 scss styles to my project, doesn't seems to solve the problem.

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

3 participants