Bootstrap 4 can I remove the modal somehow?

  • 0
    I have a function that renders a modal, but hiding it is problematic. You need to remove the class from the body, then remove the dark background. In short, it is not very comfortable. Maybe bootsrtap has a ready-made function that removes the window modally from the page?
    JavaScript Iris Horton, Oct 26, 2019

  • 2 Answers
  • 0
    so it is, and it is written in the same place as the opening of the same window
    Anonymous

  • 0
    All information can be read here: https://getbootstrap.com/docs/4.5/components/modal/

    Even if you just copy the modal window, you will have a close button (do not forget to include bootstrap scripts):
    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!