@capillarytech/creatives-library 9.0.17 → 9.0.18

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "9.0.17",
4
+ "version": "9.0.18",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -296,9 +296,12 @@ const CodeEditorPaneComponent = ({
296
296
  // In fullscreen the editor lives inside a high z-index CapModal;
297
297
  // mount the label popover inside that modal so it isn't rendered
298
298
  // behind it (body-mounted popovers sit below the modal's z-index).
299
+ // antd v6 renders the modal panel as .ant-modal-container (v5 used
300
+ // .ant-modal-content), so match both for safety.
299
301
  getPopupContainer={
300
302
  isFullscreenMode
301
303
  ? triggerNode =>
304
+ triggerNode.closest('.ant-modal-container') ||
302
305
  triggerNode.closest('.ant-modal-content') ||
303
306
  document.body
304
307
  : undefined