codexly-ui 0.0.69 → 0.0.71
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
|
@@ -13972,6 +13972,8 @@ class ClxToastService {
|
|
|
13972
13972
|
show(options) {
|
|
13973
13973
|
const position = options.position ?? TOAST_DEFAULTS.position;
|
|
13974
13974
|
const container = this._getOrCreateContainer(position);
|
|
13975
|
+
// Always move toast container to end of body so it renders above CDK overlays
|
|
13976
|
+
document.body.appendChild(container.location.nativeElement);
|
|
13975
13977
|
const entry = {
|
|
13976
13978
|
id: this._uid(),
|
|
13977
13979
|
type: options.type ?? TOAST_DEFAULTS.type,
|
|
@@ -14019,7 +14021,7 @@ class ClxToastService {
|
|
|
14019
14021
|
ref.setInput('position', position);
|
|
14020
14022
|
this._appRef.attachView(ref.hostView);
|
|
14021
14023
|
const el = ref.location.nativeElement;
|
|
14022
|
-
el.style.
|
|
14024
|
+
el.style.cssText = 'display:block!important;position:fixed!important;inset:0!important;pointer-events:none!important;z-index:2147483647!important;';
|
|
14023
14025
|
document.body.appendChild(el);
|
|
14024
14026
|
this._containers.set(position, ref);
|
|
14025
14027
|
return ref;
|