codexly-ui 0.0.50 → 0.0.52
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
|
@@ -13908,6 +13908,8 @@ class ClxDrawerService {
|
|
|
13908
13908
|
hasBackdrop,
|
|
13909
13909
|
backdropClass: 'clx-modal-backdrop',
|
|
13910
13910
|
panelClass: extraClasses,
|
|
13911
|
+
width: DRAWER_WIDTH_MAP[size],
|
|
13912
|
+
height: '100vh',
|
|
13911
13913
|
scrollStrategy: this._overlay.scrollStrategies.block(),
|
|
13912
13914
|
positionStrategy: this._overlay.position().global().right('0').top('0'),
|
|
13913
13915
|
}));
|
|
@@ -13928,7 +13930,10 @@ class ClxDrawerService {
|
|
|
13928
13930
|
pointerEvents: 'none',
|
|
13929
13931
|
});
|
|
13930
13932
|
// Re-enable pointer events on the drawer panel itself
|
|
13931
|
-
|
|
13933
|
+
// height:100% needed so clx-drawer h-full works (wrapper is display:contents)
|
|
13934
|
+
const wrapperEl = wrapperRef.location.nativeElement;
|
|
13935
|
+
wrapperEl.style.pointerEvents = 'auto';
|
|
13936
|
+
wrapperEl.style.height = '100%';
|
|
13932
13937
|
// Mount user component inside the wrapper via a second portal
|
|
13933
13938
|
const contentPortal = new ComponentPortal(component, null, innerInjector);
|
|
13934
13939
|
wrapperRef.instance.portal.set(contentPortal);
|