Apologies for asking in this solved thread. My question is kind of related to this.
I can’t manage to get the opposite work. Does window.blur() also work?
figma shortcuts doesn’t seem to work after an action made in the plugin. I added window.blur() inside an executed function (in UI code), but looks like the focus didn’t shift back to figma viewport. Any idea? Thanks
You don’t have access to outside frames with the Figma API sandbox limitations. Otherwise you would also be able to do a bunch of cool stuff like triggering shortcuts from a plugin.