I’m trying to create a context menu by leveraging the <sp-popover> element so that the menu can extend beyond the bounds of the plugin panel. However, the native popover element doesn’t seem to render at all in InDesign (and the SWC one is getting clipped to the panel border).
I’ve tried it in the Playground, to keep things as simple as possible, see the screenshot, and I’ve tried in various forms in the code, with no luck.
Revisiting it just now (I thought I had better check the code still worked), it may be that you can’t use an sp-menu and sp-menu-items within the sp-popover because the text in the sp-menu-item does seem to be clipped to the panel edge (or it needs some extra css to work), but the popover is definitely extending beyond the bounds of the panel edge (which is what you have asked for), as you can see when the sp-popover contains this crude code: