Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Modal does not dismiss after order to cart has been placed. #13

Closed
code-tofu opened this issue Jun 9, 2023 · 1 comment
Closed

Modal does not dismiss after order to cart has been placed. #13

code-tofu opened this issue Jun 9, 2023 · 1 comment

Comments

@code-tofu
Copy link
Owner

Routing changes but modal is created by bootstrap in parent of app-root

modal

@code-tofu
Copy link
Owner Author

Added a dismiss attribute to addcart button similar to cancel button functionality

Cancel See also: ngOnDestroy(): void { this.modal.hide(); $(document.body).removeClass("modal-open"); $(".modal-backdrop").remove(); }

valor-software/ngx-bootstrap#853

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant