You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 28, 2023. It is now read-only.
[x ] Provide a description of the issue
Le backdrop n'est pas détruit lorsqu'on utilise un m-spinner (en mode processing) dans un component dont le rendu est conditionnel et que le component se fait détruire.
If submitting a bug
[x ] Provide a step by step way to reproduce the problem with screenshot or video
Le backdrop devrait disparaitre lorsque le component se fait détruire. On peut régler le problème de la manière suivante:
spinner.js
MSpinner.prototype.beforeDestroy = function () {
if (this.processing) {
+ this.removeBackdrop();
var el = document.getElementById(this.spinnerId);
if (el) {
document.body.removeChild(el);
}
}
};
@ulaval/modul-componentsIssue Checklist
Le backdrop n'est pas détruit lorsqu'on utilise un m-spinner (en mode processing) dans un component dont le rendu est conditionnel et que le component se fait détruire.
If submitting a bug
parent.html
parent.ts
child.html
child.ts
mutations.ts
Le backdrop devrait disparaitre lorsque le component se fait détruire. On peut régler le problème de la manière suivante:
spinner.js