codexly-ui 0.0.49 → 0.0.51
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
|
@@ -13924,12 +13924,14 @@ class ClxDrawerService {
|
|
|
13924
13924
|
const wrapperRef = overlayRef.attach(wrapperPortal);
|
|
13925
13925
|
// Apply drawer-specific styles AFTER attach() so CDK doesn't overwrite them
|
|
13926
13926
|
Object.assign(overlayRef.overlayElement.style, {
|
|
13927
|
-
width: DRAWER_WIDTH_MAP[size],
|
|
13928
13927
|
height: '100vh',
|
|
13929
13928
|
pointerEvents: 'none',
|
|
13930
13929
|
});
|
|
13931
13930
|
// Re-enable pointer events on the drawer panel itself
|
|
13932
|
-
|
|
13931
|
+
// height:100% needed so clx-drawer h-full works (wrapper is display:contents)
|
|
13932
|
+
const wrapperEl = wrapperRef.location.nativeElement;
|
|
13933
|
+
wrapperEl.style.pointerEvents = 'auto';
|
|
13934
|
+
wrapperEl.style.height = '100%';
|
|
13933
13935
|
// Mount user component inside the wrapper via a second portal
|
|
13934
13936
|
const contentPortal = new ComponentPortal(component, null, innerInjector);
|
|
13935
13937
|
wrapperRef.instance.portal.set(contentPortal);
|