Hello,
In InDesign 21.6 on macOS, the content area of UXP panels does not fill the panel.
A grey, unusable margin remains on the right and at the bottom (about 20% of the panel),
whether the panel is floating or docked, and whatever its size.
Steps to reproduce (with the default template, no custom code):
-
UXP Developer Tool > Create Plugin > InDesign starter template, then Load.
-
In index.html, replace the body content with:
Test
-
Reload and resize the panel.
Result: the red area stops at roughly 80% of the panel width and height;
the rest of the panel stays grey (see screenshot).
Expected: the red area fills the whole panel.
Additional observations from my own plugin:
- document.documentElement.clientWidth/clientHeight stay fixed (860 x 836)
whatever the panel size; - window.innerWidth / innerHeight are undefined;
- the window “resize” event never fires.
- UI scaling is at 100%, devicePixelRatio = 1.
Environment: InDesign 21.6, macOS 26.6.2, UXP Developer Tool 2.3.0.5.
Is this a known issue, and is there a workaround?
Thank you.
