When using the version of "@ ng-bootstrap / ng-bootstrap": "1.0.0-beta.6" everything looks fine in my Angular 5 application. But if I have a button in the modal window that starts changing the route, the modal window does not close even after changing the route.
In a small study, I found something like: in previous versions of the bootstrap, when we click on a modal window, we use to see the code associated with the modal window inside a specific component and when the route changes as the component is destroyed, even to use the modal window are destroyed. But in the current version, I see the code associated with the modal window, almost at the end of the body tag, which does not work with changing the route.
Is there a way to close the modal route change?
source
share