codexly-ui 0.0.76 → 0.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2022/codexly-ui.mjs
CHANGED
|
@@ -13989,6 +13989,11 @@ class ClxToastService {
|
|
|
13989
13989
|
show(options) {
|
|
13990
13990
|
const position = options.position ?? TOAST_DEFAULTS.position;
|
|
13991
13991
|
const container = this._getOrCreateContainer(position);
|
|
13992
|
+
// Move our dedicated overlay container to the end of body on every show
|
|
13993
|
+
// so it always appears after any modal cdk-overlay-container
|
|
13994
|
+
const el = container.overlayRef.overlayElement.closest('.clx-toast-overlay-container');
|
|
13995
|
+
if (el)
|
|
13996
|
+
document.body.appendChild(el);
|
|
13992
13997
|
const entry = {
|
|
13993
13998
|
id: this._uid(),
|
|
13994
13999
|
type: options.type ?? TOAST_DEFAULTS.type,
|