Coder Social home page Coder Social logo

Comments (4)

toverux avatar toverux commented on June 18, 2024

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.

from ngx-sweetalert2.

danilomcb avatar danilomcb commented on June 18, 2024

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.

from ngx-sweetalert2.

toverux avatar toverux commented on June 18, 2024

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.

from ngx-sweetalert2.

gamunu avatar gamunu commented on June 18, 2024

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.

from ngx-sweetalert2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.